Struct oauth1_request::signature_method::plaintext::PlaintextSign
source · pub struct PlaintextSign(_);
Expand description
A Sign
implementation that just returns the signing key used to construct it.
Trait Implementations
sourceimpl Clone for PlaintextSign
impl Clone for PlaintextSign
sourcefn clone(&self) -> PlaintextSign
fn clone(&self) -> PlaintextSign
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PlaintextSign
impl Debug for PlaintextSign
sourceimpl Sign for PlaintextSign
impl Sign for PlaintextSign
sourcefn get_signature_method_name(&self) -> &'static str
fn get_signature_method_name(&self) -> &'static str
Returns the
oauth_signature_method
string for the signature method associated with the
algorithm. Read moresourcefn request_method(&mut self, _method: &str)
fn request_method(&mut self, _method: &str)
Feeds
self
with the HTTP request method part of the signature base string.sourcefn uri(&mut self, _uri: impl Display)
fn uri(&mut self, _uri: impl Display)
Feeds
self
with the base string URI part of the signature base string.sourcefn parameter(&mut self, _key: &str, _value: impl Display)
fn parameter(&mut self, _key: &str, _value: impl Display)
Feeds
self
with a key-value parameter pair of the signature base string. Read moresourcefn consumer_key(&mut self, default_key: &'static str, value: impl Display)
fn consumer_key(&mut self, default_key: &'static str, value: impl Display)
sourcefn use_nonce(&self) -> bool
fn use_nonce(&self) -> bool
If this method returns
false
, Signer
will not emit the oauth_nonce
part of the
signature base string. Read moresourcefn signature_method(
&mut self,
default_key: &'static str,
default_value: &'static str
)
fn signature_method(
&mut self,
default_key: &'static str,
default_value: &'static str
)
sourcefn use_timestamp(&self) -> bool
fn use_timestamp(&self) -> bool
If this method returns
false
, Signer
will not emit the oauth_nonce
part of the
signature base string. Read moreAuto Trait Implementations
impl RefUnwindSafe for PlaintextSign
impl Send for PlaintextSign
impl Sync for PlaintextSign
impl Unpin for PlaintextSign
impl UnwindSafe for PlaintextSign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more