Struct synd_auth::device_flow::DeviceAccessTokenResponse
source · pub struct DeviceAccessTokenResponse {
pub access_token: String,
pub token_type: String,
pub expires_in: Option<i64>,
}Expand description
Successful Response https://datatracker.ietf.org/doc/html/rfc6749#section-5.1
Fields§
§access_token: Stringthe access token issued by the authorization server
token_type: String§expires_in: Option<i64>the lifetime in seconds of the access token
Trait Implementations§
source§impl Debug for DeviceAccessTokenResponse
impl Debug for DeviceAccessTokenResponse
source§impl<'de> Deserialize<'de> for DeviceAccessTokenResponse
impl<'de> Deserialize<'de> for DeviceAccessTokenResponse
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 RefUnwindSafe for DeviceAccessTokenResponse
impl Send for DeviceAccessTokenResponse
impl Sync for DeviceAccessTokenResponse
impl Unpin for DeviceAccessTokenResponse
impl UnwindSafe for DeviceAccessTokenResponse
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