Struct twapi_v2::oauth::TokenResult
source · pub struct TokenResult {
pub access_token: String,
pub refresh_token: Option<String>,
pub expires_in: Option<Duration>,
}Available on crate feature
oauth only.Fields§
§access_token: String§refresh_token: Option<String>§expires_in: Option<Duration>Trait Implementations§
source§impl Clone for TokenResult
impl Clone for TokenResult
source§fn clone(&self) -> TokenResult
fn clone(&self) -> TokenResult
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TokenResult
impl Send for TokenResult
impl Sync for TokenResult
impl Unpin for TokenResult
impl UnwindSafe for TokenResult
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