pub struct UserOpenAuthorizationResponse {
pub access_token: String,
pub token_type: String,
pub expires_in: u32,
pub refresh_token: String,
}Expand description
This structure is used to store access tokens and to update them, saved as response.json
Fields§
§access_token: String§token_type: String§expires_in: u32§refresh_token: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserOpenAuthorizationResponse
impl<'de> Deserialize<'de> for UserOpenAuthorizationResponse
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 UserOpenAuthorizationResponse
impl RefUnwindSafe for UserOpenAuthorizationResponse
impl Send for UserOpenAuthorizationResponse
impl Sync for UserOpenAuthorizationResponse
impl Unpin for UserOpenAuthorizationResponse
impl UnwindSafe for UserOpenAuthorizationResponse
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