#[non_exhaustive]pub struct GenerateRootStatus {
pub started: bool,
pub nonce: String,
pub progress: u32,
pub required: u32,
pub complete: bool,
pub encoded_token: Option<SecretString>,
pub encoded_root_token: Option<SecretString>,
pub otp_length: Option<u64>,
pub otp: Option<SecretString>,
}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.started: bool§nonce: String§progress: u32§required: u32§complete: bool§encoded_token: Option<SecretString>§encoded_root_token: Option<SecretString>§otp_length: Option<u64>§otp: Option<SecretString>Trait Implementations§
Source§impl Clone for GenerateRootStatus
impl Clone for GenerateRootStatus
Source§impl Debug for GenerateRootStatus
impl Debug for GenerateRootStatus
Source§impl<'de> Deserialize<'de> for GenerateRootStatus
impl<'de> Deserialize<'de> for GenerateRootStatus
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 Drop for GenerateRootStatus
impl Drop for GenerateRootStatus
Auto Trait Implementations§
impl Freeze for GenerateRootStatus
impl RefUnwindSafe for GenerateRootStatus
impl Send for GenerateRootStatus
impl Sync for GenerateRootStatus
impl Unpin for GenerateRootStatus
impl UnsafeUnpin for GenerateRootStatus
impl UnwindSafe for GenerateRootStatus
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