Struct dropbox_sdk::auth::TokenFromOAuth1Arg
source · [−]#[non_exhaustive]pub struct TokenFromOAuth1Arg {
pub oauth1_token: String,
pub oauth1_token_secret: String,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.oauth1_token: StringThe supplied OAuth 1.0 access token.
oauth1_token_secret: StringThe token secret associated with the supplied access token.
Implementations
Trait Implementations
sourceimpl Clone for TokenFromOAuth1Arg
impl Clone for TokenFromOAuth1Arg
sourcefn clone(&self) -> TokenFromOAuth1Arg
fn clone(&self) -> TokenFromOAuth1Arg
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 more
sourceimpl Debug for TokenFromOAuth1Arg
impl Debug for TokenFromOAuth1Arg
sourceimpl<'de> Deserialize<'de> for TokenFromOAuth1Arg
impl<'de> Deserialize<'de> for TokenFromOAuth1Arg
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<TokenFromOAuth1Arg> for TokenFromOAuth1Arg
impl PartialEq<TokenFromOAuth1Arg> for TokenFromOAuth1Arg
sourcefn eq(&self, other: &TokenFromOAuth1Arg) -> bool
fn eq(&self, other: &TokenFromOAuth1Arg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TokenFromOAuth1Arg) -> bool
fn ne(&self, other: &TokenFromOAuth1Arg) -> bool
This method tests for !=.
sourceimpl Serialize for TokenFromOAuth1Arg
impl Serialize for TokenFromOAuth1Arg
impl Eq for TokenFromOAuth1Arg
impl StructuralEq for TokenFromOAuth1Arg
impl StructuralPartialEq for TokenFromOAuth1Arg
Auto Trait Implementations
impl RefUnwindSafe for TokenFromOAuth1Arg
impl Send for TokenFromOAuth1Arg
impl Sync for TokenFromOAuth1Arg
impl Unpin for TokenFromOAuth1Arg
impl UnwindSafe for TokenFromOAuth1Arg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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