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 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 HttpMessageComponentParam
impl Debug for HttpMessageComponentParam
source§impl Hash for HttpMessageComponentParam
impl Hash for HttpMessageComponentParam
source§impl PartialEq for HttpMessageComponentParam
impl PartialEq for HttpMessageComponentParam
source§fn eq(&self, other: &HttpMessageComponentParam) -> bool
fn eq(&self, other: &HttpMessageComponentParam) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<(&str, &BareItem)> for HttpMessageComponentParam
impl TryFrom<(&str, &BareItem)> for HttpMessageComponentParam
§type Error = HttpSigError
type Error = HttpSigError
The type returned in the event of a conversion error.
impl Eq for HttpMessageComponentParam
impl StructuralPartialEq for HttpMessageComponentParam
Auto Trait Implementations§
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<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.