#[non_exhaustive]pub struct BoardLogin {
pub stations: Vec<String>,
pub expires_at: Option<f64>,
pub renewed_at: Option<f64>,
pub renewal_held_by: Option<String>,
pub renewal_held_until: Option<f64>,
pub last_result: Option<String>,
pub last_attempt_at: Option<f64>,
pub failures: u32,
pub needs_person: Option<String>,
pub needs_person_command: Option<String>,
pub requests: Vec<BoardLoginRequest>,
}Expand description
What the board shows of a login kept sealed in the Registry: never the login.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stations: Vec<String>The Stations it is sealed to.
expires_at: Option<f64>When it ends, as Unix seconds, when its files say.
renewed_at: Option<f64>When a renewed copy last reached the Registry, as Unix seconds.
renewal_held_by: Option<String>The Station holding its renewal lease now.
renewal_held_until: Option<f64>When that lease lapses unless it is renewed, as Unix seconds.
last_result: Option<String>How the last renewal ended: renewed, unchanged, failed: <why> or added.
last_attempt_at: Option<f64>When it ended, as Unix seconds.
failures: u32Renewals that failed since the last that did not.
needs_person: Option<String>Why a person is needed, when one is.
needs_person_command: Option<String>What to run on a host where the CLI is signed in, when a person is needed.
requests: Vec<BoardLoginRequest>Changes a person asked for that wait for a Station holding the login.
Trait Implementations§
Source§impl Clone for BoardLogin
impl Clone for BoardLogin
Source§impl Debug for BoardLogin
impl Debug for BoardLogin
Source§impl PartialEq for BoardLogin
impl PartialEq for BoardLogin
Source§impl Serialize for BoardLogin
impl Serialize for BoardLogin
impl StructuralPartialEq for BoardLogin
Auto Trait Implementations§
impl Freeze for BoardLogin
impl RefUnwindSafe for BoardLogin
impl Send for BoardLogin
impl Sync for BoardLogin
impl Unpin for BoardLogin
impl UnsafeUnpin for BoardLogin
impl UnwindSafe for BoardLogin
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.