pub struct AuthedUser {
pub id: String,
pub scope: Option<String>,
pub access_token: Option<String>,
pub token_type: Option<String>,
}Expand description
Authed user information in OAuth response
Fields§
§id: String§scope: Option<String>§access_token: Option<String>§token_type: Option<String>Trait Implementations§
Source§impl Debug for AuthedUser
impl Debug for AuthedUser
Source§impl<'de> Deserialize<'de> for AuthedUser
impl<'de> Deserialize<'de> for AuthedUser
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 AuthedUser
impl RefUnwindSafe for AuthedUser
impl Send for AuthedUser
impl Sync for AuthedUser
impl Unpin for AuthedUser
impl UnwindSafe for AuthedUser
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