[][src]Struct oauth1_request::signature_method::identity::IdentitySign

pub struct IdentitySign(pub String);

A Sign implementation that just returns the signature base string.

Trait Implementations

impl Sign for IdentitySign[src]

type Signature = String

The representation of oauth_signature string the algorithm produces.

fn callback(&mut self, default_key: &'static str, value: impl Display)[src]

Feeds self with the oauth_callback parameter part of the signature base string. Read more

fn consumer_key(&mut self, default_key: &'static str, value: impl Display)[src]

Feeds self with the oauth_consumer_key parameter part of the signature base string. Read more

fn nonce(&mut self, default_key: &'static str, value: impl Display)[src]

Feeds self with the oauth_nonce parameter part of the signature base string. Read more

fn use_nonce(&self) -> bool[src]

If this method returns false, Signer will not emit the oauth_nonce part of the signature base string. Read more

fn signature_method(
    &mut self,
    default_key: &'static str,
    default_value: &'static str
)
[src]

Feeds self with the oauth_signature_method parameter part of the signature base string. Read more

fn timestamp(&mut self, default_key: &'static str, value: u64)[src]

Feeds self with the oauth_timestamp parameter part of the signature base string. Read more

fn use_timestamp(&self) -> bool[src]

If this method returns false, Signer will not emit the oauth_nonce part of the signature base string. Read more

fn token(&mut self, default_key: &'static str, value: impl Display)[src]

Feeds self with the oauth_token parameter part of the signature base string. Read more

fn verifier(&mut self, default_key: &'static str, value: impl Display)[src]

Feeds self with the oauth_verifier parameter part of the signature base string. Read more

fn version(&mut self, default_key: &'static str, default_value: &'static str)[src]

Feeds self with the oauth_version parameter part of the signature base string. Read more

impl Clone for IdentitySign[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for IdentitySign[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self