Struct dropbox_sdk::auth::TokenFromOAuth1Result
source · [−]#[non_exhaustive]pub struct TokenFromOAuth1Result {
pub oauth2_token: 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.oauth2_token: StringThe OAuth 2.0 token generated from the supplied OAuth 1.0 token.
Implementations
Trait Implementations
sourceimpl Clone for TokenFromOAuth1Result
impl Clone for TokenFromOAuth1Result
sourcefn clone(&self) -> TokenFromOAuth1Result
fn clone(&self) -> TokenFromOAuth1Result
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 TokenFromOAuth1Result
impl Debug for TokenFromOAuth1Result
sourceimpl<'de> Deserialize<'de> for TokenFromOAuth1Result
impl<'de> Deserialize<'de> for TokenFromOAuth1Result
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<TokenFromOAuth1Result> for TokenFromOAuth1Result
impl PartialEq<TokenFromOAuth1Result> for TokenFromOAuth1Result
sourcefn eq(&self, other: &TokenFromOAuth1Result) -> bool
fn eq(&self, other: &TokenFromOAuth1Result) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TokenFromOAuth1Result) -> bool
fn ne(&self, other: &TokenFromOAuth1Result) -> bool
This method tests for !=.
sourceimpl Serialize for TokenFromOAuth1Result
impl Serialize for TokenFromOAuth1Result
impl Eq for TokenFromOAuth1Result
impl StructuralEq for TokenFromOAuth1Result
impl StructuralPartialEq for TokenFromOAuth1Result
Auto Trait Implementations
impl RefUnwindSafe for TokenFromOAuth1Result
impl Send for TokenFromOAuth1Result
impl Sync for TokenFromOAuth1Result
impl Unpin for TokenFromOAuth1Result
impl UnwindSafe for TokenFromOAuth1Result
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