pub struct Grant {
pub access_token: String,
pub refresh_token: Option<String>,
pub expires_in: Option<i64>,
}Expand description
What the token endpoint said, reduced to what is stored.
Fields§
§access_token: String§refresh_token: Option<String>§expires_in: Option<i64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grant
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnsafeUnpin for Grant
impl UnwindSafe for Grant
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