pub struct LoginProgress {
pub state: String,
pub detail: String,
pub account: Option<String>,
pub instructions: Option<String>,
}Fields§
§state: Stringwaiting, signedIn, failed, or notStarted.
detail: String§account: Option<String>§instructions: Option<String>What login printed. For waiting these are the steps to give the user
verbatim: they differ between a desktop and a headless host, and only the
running process knows which it is.
Trait Implementations§
Source§impl Clone for LoginProgress
impl Clone for LoginProgress
Source§fn clone(&self) -> LoginProgress
fn clone(&self) -> LoginProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoginProgress
impl Debug for LoginProgress
Source§impl Default for LoginProgress
impl Default for LoginProgress
Source§impl<'de> Deserialize<'de> for LoginProgresswhere
LoginProgress: Default,
impl<'de> Deserialize<'de> for LoginProgresswhere
LoginProgress: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LoginProgress
impl JsonSchema for LoginProgress
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LoginProgress
impl RefUnwindSafe for LoginProgress
impl Send for LoginProgress
impl Sync for LoginProgress
impl Unpin for LoginProgress
impl UnsafeUnpin for LoginProgress
impl UnwindSafe for LoginProgress
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