pub struct AuthSetTokenOutcome {
pub server: String,
pub user: Option<String>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
Outcome passed to Renderer::auth_set_token after caching a stdin-provided token.
Fields§
§server: StringResolved server URL (after Config::resolve).
user: Option<String>User identifier from the JWT sub claim (a user IRI); None if the
claim is absent. This is display-only metadata — it is not verified
and must not be used as an access-control input.
expires_at: Option<DateTime<Utc>>Token expiry derived from the JWT exp claim, if present.
Auto Trait Implementations§
impl Freeze for AuthSetTokenOutcome
impl RefUnwindSafe for AuthSetTokenOutcome
impl Send for AuthSetTokenOutcome
impl Sync for AuthSetTokenOutcome
impl Unpin for AuthSetTokenOutcome
impl UnsafeUnpin for AuthSetTokenOutcome
impl UnwindSafe for AuthSetTokenOutcome
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