pub struct PlatformUserProfile {
pub login: String,
pub name: Option<String>,
}Expand description
Authenticated platform user profile returned after token exchange.
Returned by OAuthDeviceFlowProvider::fetch_user_profile.
Fields§
§login: StringPlatform login / username.
name: Option<String>Display name (optional).
Auto Trait Implementations§
impl Freeze for PlatformUserProfile
impl RefUnwindSafe for PlatformUserProfile
impl Send for PlatformUserProfile
impl Sync for PlatformUserProfile
impl Unpin for PlatformUserProfile
impl UnsafeUnpin for PlatformUserProfile
impl UnwindSafe for PlatformUserProfile
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