[−][src]Struct oauth1_request::signature_method::hmac_sha1::HmacSha1Sign
A type that signs a signature base string with the HMAC-SHA1 signature algorithm.
Trait Implementations
impl Sign for HmacSha1Sign
[src]
type Signature = HmacSha1Signature
The representation of oauth_signature
string the algorithm produces.
fn get_signature_method_name(&self) -> &'static str
[src]
fn request_method(&mut self, method: &str)
[src]
fn uri(&mut self, uri: impl Display)
[src]
fn parameter(&mut self, key: &str, value: impl Display)
[src]
fn delimiter(&mut self)
[src]
fn finish(self) -> HmacSha1Signature
[src]
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]
&mut self,
default_key: &'static str,
default_value: &'static str
)
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 HmacSha1Sign
[src]
fn clone(&self) -> HmacSha1Sign
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for HmacSha1Sign
[src]
Auto Trait Implementations
impl Send for HmacSha1Sign
impl Sync for HmacSha1Sign
impl Unpin for HmacSha1Sign
impl RefUnwindSafe for HmacSha1Sign
impl UnwindSafe for HmacSha1Sign
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self