pub struct SetupStatus {
pub initialized: bool,
pub user_count: usize,
pub bootstrap_active: bool,
pub setup_url: Option<String>,
}Expand description
Setup status response.
Fields§
§initialized: boolWhether the system is initialized (has at least one admin).
user_count: usizeNumber of users configured.
bootstrap_active: boolWhether a bootstrap token is active.
setup_url: Option<String>Bootstrap URL (only if bootstrap is active and not initialized).
Trait Implementations§
Source§impl Clone for SetupStatus
impl Clone for SetupStatus
Source§fn clone(&self) -> SetupStatus
fn clone(&self) -> SetupStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 SetupStatus
impl Debug for SetupStatus
Source§impl<'de> Deserialize<'de> for SetupStatus
impl<'de> Deserialize<'de> for SetupStatus
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
Auto Trait Implementations§
impl Freeze for SetupStatus
impl RefUnwindSafe for SetupStatus
impl Send for SetupStatus
impl Sync for SetupStatus
impl Unpin for SetupStatus
impl UnwindSafe for SetupStatus
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