[][src]Struct http_signature_normalization::create::Signed

pub struct Signed { /* fields omitted */ }

The signed stage of creating a signature

From here, the Signature or Authorization headers can be generated as string

Methods

impl Signed[src]

pub fn signature_header(self) -> String[src]

Turn the Signed type into a String that can be used as the Signature Header

Done manually, it would look like format!("Signature: {}", signed.signature_header())

pub fn authorization_header(self) -> String[src]

Turn the Signed type into a String that can be used as the Authorization Header

Done manually, it would look like format!("Authorization: {}", signed.authorization_header())

Trait Implementations

impl Debug for Signed[src]

Auto Trait Implementations

impl RefUnwindSafe for Signed

impl Send for Signed

impl Sync for Signed

impl Unpin for Signed

impl UnwindSafe for Signed

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.