pub enum HttpMessageComponentParam {
Sf,
Key(String),
Bs,
Tr,
Req,
Name(String),
}Expand description
Http message component parameters that appends with ; in the signature input
https://datatracker.ietf.org/doc/html/rfc9421#secion-2.1
Variants§
Sf
sf: https://datatracker.ietf.org/doc/html/rfc9421#section-2.1.1
Key(String)
key: https://datatracker.ietf.org/doc/html/rfc9421#section-2.1.2
This will be encoded to ;key="..." in the signature input
Bs
bs: https://datatracker.ietf.org/doc/html/rfc9421#section-2.1.3
Tr
Req
Name(String)
This will be encoded to ;name="..." in the signature input
Trait Implementations§
Source§impl Clone for HttpMessageComponentParam
impl Clone for HttpMessageComponentParam
Source§fn clone(&self) -> HttpMessageComponentParam
fn clone(&self) -> HttpMessageComponentParam
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 HttpMessageComponentParam
impl Debug for HttpMessageComponentParam
Source§impl From<HttpMessageComponentParam> for String
impl From<HttpMessageComponentParam> for String
Source§fn from(val: HttpMessageComponentParam) -> String
fn from(val: HttpMessageComponentParam) -> String
Converts to this type from the input type.
Source§impl Hash for HttpMessageComponentParam
impl Hash for HttpMessageComponentParam
impl Eq for HttpMessageComponentParam
impl StructuralPartialEq for HttpMessageComponentParam
Auto Trait Implementations§
impl Freeze for HttpMessageComponentParam
impl RefUnwindSafe for HttpMessageComponentParam
impl Send for HttpMessageComponentParam
impl Sync for HttpMessageComponentParam
impl Unpin for HttpMessageComponentParam
impl UnwindSafe for HttpMessageComponentParam
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.