pub struct HandshakeOutcome {
pub token: Token,
pub login: Option<String>,
}Expand description
Result of a successful handshake.
Fields§
§token: TokenThe signed-in token. Hand to crate::Client::new.
login: Option<String>Echoed back from the platform — typically the user’s login.
Useful so callers can skip an extra /api/me round-trip right
after sign-in. None when the platform didn’t include it (older
platforms, or the error= path).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandshakeOutcome
impl RefUnwindSafe for HandshakeOutcome
impl Send for HandshakeOutcome
impl Sync for HandshakeOutcome
impl Unpin for HandshakeOutcome
impl UnsafeUnpin for HandshakeOutcome
impl UnwindSafe for HandshakeOutcome
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