pub struct PlaintextSign<W = String> { /* private fields */ }
Expand description
A Sign
implementation that just returns the signing key used to construct it.
Trait Implementations§
Source§impl<W: Clone> Clone for PlaintextSign<W>
impl<W: Clone> Clone for PlaintextSign<W>
Source§fn clone(&self) -> PlaintextSign<W>
fn clone(&self) -> PlaintextSign<W>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<W: Debug> Debug for PlaintextSign<W>
impl<W: Debug> Debug for PlaintextSign<W>
Source§impl<W> Sign for PlaintextSign<W>
impl<W> Sign for PlaintextSign<W>
Source§type Signature = W
type Signature = W
The URL-encoded representation of
oauth_signature
string the algorithm produces.Source§fn 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.Source§fn 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.Source§fn uri<T>(&mut self, _uri: T)
fn uri<T>(&mut self, _uri: T)
Feeds
self
with the base string URI part of the signature base string.Source§fn parameter<V>(&mut self, _key: &str, _value: V)
fn parameter<V>(&mut self, _key: &str, _value: V)
Feeds
self
with a key-value parameter pair of the signature base string. Read moreSource§fn consumer_key<V: Display>(&mut self, value: V)
fn consumer_key<V: Display>(&mut self, value: V)
Source§fn use_nonce(&self) -> bool
fn use_nonce(&self) -> bool
Whether the signature method uses the
oauth_nonce
parameter. Read moreSource§fn signature_method(&mut self)
fn signature_method(&mut self)
Source§fn use_timestamp(&self) -> bool
fn use_timestamp(&self) -> bool
Whether the signature method uses the
oauth_nonce
parameter. Read moreAuto Trait Implementations§
impl<W> Freeze for PlaintextSign<W>where
W: Freeze,
impl<W> RefUnwindSafe for PlaintextSign<W>where
W: RefUnwindSafe,
impl<W> Send for PlaintextSign<W>where
W: Send,
impl<W> Sync for PlaintextSign<W>where
W: Sync,
impl<W> Unpin for PlaintextSign<W>where
W: Unpin,
impl<W> UnwindSafe for PlaintextSign<W>where
W: UnwindSafe,
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