pub enum HTTPFieldParameters {
Sf,
Key(String),
Bs,
Tr,
Req,
}
Expand description
Signature component parameters for HTTP fields.
Variants§
Sf
Indicates whether this HTTP header was both a structured field value and should be strictly serialized in its signature base representation.
Key(String)
Indicates this HTTP header was a Dictionary structured field value and should be serialized to the key
’s value
in the signature base representation.
Bs
Indicates all instances of this HTTP header should be wrapped as binary structures before being combined. Typically only used when an HTTP header appears multple times and cannot be safely concatenated.
Tr
Indicates this HTTP header appeared in the trailer, not the header section.
Req
Indicates this HTTP header value was obtained from the request. Typically only used in a signed response.
Trait Implementations§
Source§impl Clone for HTTPFieldParameters
impl Clone for HTTPFieldParameters
Source§fn clone(&self) -> HTTPFieldParameters
fn clone(&self) -> HTTPFieldParameters
Returns a duplicate 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 HTTPFieldParameters
impl Debug for HTTPFieldParameters
Source§impl Hash for HTTPFieldParameters
impl Hash for HTTPFieldParameters
Source§impl PartialEq for HTTPFieldParameters
impl PartialEq for HTTPFieldParameters
impl Eq for HTTPFieldParameters
impl StructuralPartialEq for HTTPFieldParameters
Auto Trait Implementations§
impl Freeze for HTTPFieldParameters
impl RefUnwindSafe for HTTPFieldParameters
impl Send for HTTPFieldParameters
impl Sync for HTTPFieldParameters
impl Unpin for HTTPFieldParameters
impl UnwindSafe for HTTPFieldParameters
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.