pub enum DerivedComponent {
Authority {
req: bool,
},
TargetUri {
req: bool,
},
RequestTarget {
req: bool,
},
Method {
req: bool,
},
Path {
req: bool,
},
Scheme {
req: bool,
},
Query {
req: bool,
},
QueryParams {
parameters: QueryParamParametersSet,
},
Status {
req: bool,
},
}Expand description
A list of derived components, used to specify attributes of an HTTP message that otherwise can’t be referenced
via an HTTP header but nevertheless can be used in generating a signature base. Each component here, with the sole
exception of QueryParameters, accepts a single component parameter `req.
Variants§
Authority
Represents @authority derived component
Fields
TargetUri
Represents @target-uri derived component
Fields
RequestTarget
Represents @request-target derived component
Fields
Method
Represents @method derived component
Fields
Path
Represents @path derived component
Fields
Scheme
Represents @scheme derived component
Fields
Query
Represents @query derived component
Fields
QueryParams
Represents the @query-params derived component
Fields
§
parameters: QueryParamParametersSetThe list of parameters associated with this field
Status
Represents @status derived component
Trait Implementations§
Source§impl Clone for DerivedComponent
impl Clone for DerivedComponent
Source§fn clone(&self) -> DerivedComponent
fn clone(&self) -> DerivedComponent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DerivedComponent
impl Debug for DerivedComponent
Source§impl Hash for DerivedComponent
impl Hash for DerivedComponent
Source§impl PartialEq for DerivedComponent
impl PartialEq for DerivedComponent
Source§impl TryFrom<DerivedComponent> for Item
impl TryFrom<DerivedComponent> for Item
Source§type Error = ImplementationError
type Error = ImplementationError
The type returned in the event of a conversion error.
impl Eq for DerivedComponent
impl StructuralPartialEq for DerivedComponent
Auto Trait Implementations§
impl Freeze for DerivedComponent
impl RefUnwindSafe for DerivedComponent
impl Send for DerivedComponent
impl Sync for DerivedComponent
impl Unpin for DerivedComponent
impl UnwindSafe for DerivedComponent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.