pub enum ViolationTargetComponent {
WholeUrl,
Scheme,
Authority,
UserInfo,
Host,
Port,
Path,
QueryParam,
Fragment,
BodyField,
WholeBody,
}Variants§
WholeUrl
Scheme
Authority
UserInfo
Host
Port
Path
QueryParam
Fragment
BodyField
A field inside a JSON request body, named by its path.
WholeBody
The request body as a whole.
Trait Implementations§
Source§impl Clone for ViolationTargetComponent
impl Clone for ViolationTargetComponent
Source§fn clone(&self) -> ViolationTargetComponent
fn clone(&self) -> ViolationTargetComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ViolationTargetComponent
Source§impl Debug for ViolationTargetComponent
impl Debug for ViolationTargetComponent
impl Eq for ViolationTargetComponent
Source§impl PartialEq for ViolationTargetComponent
impl PartialEq for ViolationTargetComponent
Source§impl Serialize for ViolationTargetComponent
impl Serialize for ViolationTargetComponent
impl StructuralPartialEq for ViolationTargetComponent
Auto Trait Implementations§
impl Freeze for ViolationTargetComponent
impl RefUnwindSafe for ViolationTargetComponent
impl Send for ViolationTargetComponent
impl Sync for ViolationTargetComponent
impl Unpin for ViolationTargetComponent
impl UnsafeUnpin for ViolationTargetComponent
impl UnwindSafe for ViolationTargetComponent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more