pub struct AuthLoginOutcome {
pub server: String,
pub user: String,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
Outcome passed to Renderer::auth_login on a successful login.
Fields§
§server: StringResolved server URL (after Config::resolve).
user: StringAuthenticated user identifier (email, username, or IRI) — echoed from
the --user value the user supplied.
expires_at: Option<DateTime<Utc>>Token expiry derived from the JWT exp claim, if present.
Auto Trait Implementations§
impl Freeze for AuthLoginOutcome
impl RefUnwindSafe for AuthLoginOutcome
impl Send for AuthLoginOutcome
impl Sync for AuthLoginOutcome
impl Unpin for AuthLoginOutcome
impl UnsafeUnpin for AuthLoginOutcome
impl UnwindSafe for AuthLoginOutcome
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