pub enum CoveredComponent {
HTTP(HTTPField),
Derived(DerivedComponent),
}
Expand description
Represents any component that can be used during message signing or verifying. See documentation about each wrapped variant to learn more.
Variants§
HTTP(HTTPField)
Represents an HTTP field that can be used as part of the Signature-Input
field
Derived(DerivedComponent)
Represents a derived component - message data not accessible as an HTTP header -
that can be used as part of the Signature-Input
field.
Trait Implementations§
Source§impl Clone for CoveredComponent
impl Clone for CoveredComponent
Source§fn clone(&self) -> CoveredComponent
fn clone(&self) -> CoveredComponent
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 CoveredComponent
impl Debug for CoveredComponent
Source§impl Hash for CoveredComponent
impl Hash for CoveredComponent
Source§impl PartialEq for CoveredComponent
impl PartialEq for CoveredComponent
Source§impl TryFrom<Item> for CoveredComponent
impl TryFrom<Item> for CoveredComponent
impl Eq for CoveredComponent
impl StructuralPartialEq for CoveredComponent
Auto Trait Implementations§
impl Freeze for CoveredComponent
impl RefUnwindSafe for CoveredComponent
impl Send for CoveredComponent
impl Sync for CoveredComponent
impl Unpin for CoveredComponent
impl UnwindSafe for CoveredComponent
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.