pub struct OAuthCredentials {
pub auth_type: String,
pub refresh: String,
pub access: String,
pub expires: u64,
pub account_id: Option<String>,
}Fields§
§auth_type: String§refresh: String§access: String§expires: u64§account_id: Option<String>Trait Implementations§
Source§impl Clone for OAuthCredentials
impl Clone for OAuthCredentials
Source§fn clone(&self) -> OAuthCredentials
fn clone(&self) -> OAuthCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OAuthCredentials
impl Debug for OAuthCredentials
Source§impl<'de> Deserialize<'de> for OAuthCredentials
impl<'de> Deserialize<'de> for OAuthCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OAuthCredentials
impl RefUnwindSafe for OAuthCredentials
impl Send for OAuthCredentials
impl Sync for OAuthCredentials
impl Unpin for OAuthCredentials
impl UnsafeUnpin for OAuthCredentials
impl UnwindSafe for OAuthCredentials
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