pub struct ParsedSignature {
pub algorithm: String,
pub signature: String,
}Expand description
The decomposed form of an X-Tango-Signature header value.
Returned by parse. algorithm is always lowercase; signature is the
raw lowercase hex digest with no prefix.
Fields§
§algorithm: StringThe signing algorithm (always "sha256" today).
signature: StringThe lowercase hex digest, without any sha256= prefix.
Trait Implementations§
Source§impl Clone for ParsedSignature
impl Clone for ParsedSignature
Source§fn clone(&self) -> ParsedSignature
fn clone(&self) -> ParsedSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedSignature
impl Debug for ParsedSignature
Source§impl PartialEq for ParsedSignature
impl PartialEq for ParsedSignature
Source§fn eq(&self, other: &ParsedSignature) -> bool
fn eq(&self, other: &ParsedSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParsedSignature
impl StructuralPartialEq for ParsedSignature
Auto Trait Implementations§
impl Freeze for ParsedSignature
impl RefUnwindSafe for ParsedSignature
impl Send for ParsedSignature
impl Sync for ParsedSignature
impl Unpin for ParsedSignature
impl UnsafeUnpin for ParsedSignature
impl UnwindSafe for ParsedSignature
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