pub struct Signature {Show 17 fields
pub v: u32,
pub a: Algorithm,
pub d: String,
pub s: String,
pub b: Vec<u8>,
pub bh: Vec<u8>,
pub h: Vec<String>,
pub z: Vec<String>,
pub i: String,
pub l: u64,
pub x: u64,
pub t: u64,
pub r: bool,
pub atps: Option<String>,
pub atpsh: Option<HashAlgorithm>,
pub ch: Canonicalization,
pub cb: Canonicalization,
}
Fields§
§v: u32
§a: Algorithm
§d: String
§s: String
§b: Vec<u8>
§bh: Vec<u8>
§h: Vec<String>
§z: Vec<String>
§i: String
§l: u64
§x: u64
§t: u64
§r: bool
§atps: Option<String>
§atpsh: Option<HashAlgorithm>
§ch: Canonicalization
§cb: Canonicalization
Implementations§
Source§impl Signature
impl Signature
pub fn canonicalize<'x>( &self, message: impl HeaderStream<'x>, ) -> (usize, CanonicalHeaders<'x>, Vec<String>, CanonicalBody<'x>)
Trait Implementations§
Source§impl HeaderWriter for Signature
impl HeaderWriter for Signature
Source§impl VerifySignature for Signature
impl VerifySignature for Signature
impl Eq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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.