pub struct SetupStateResponseState {
pub status: SetupStateResponseStateStatus,
pub completed_steps: Vec<String>,
pub registration_open: bool,
pub started_at: String,
pub completed_at: Option<String>,
pub version: i64,
}Expand description
SetupStateResponseState model.
Fields§
§status: SetupStateResponseStateStatuslive is a one-way latch; closing registration afterwards does not undo it.
completed_steps: Vec<String>§registration_open: bool§started_at: String§completed_at: Option<String>Set once setup first completed. Its presence is what makes the latch one-way.
version: i64Trait Implementations§
Source§impl Clone for SetupStateResponseState
impl Clone for SetupStateResponseState
Source§fn clone(&self) -> SetupStateResponseState
fn clone(&self) -> SetupStateResponseState
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 SetupStateResponseState
impl Debug for SetupStateResponseState
Source§impl Default for SetupStateResponseState
impl Default for SetupStateResponseState
Source§fn default() -> SetupStateResponseState
fn default() -> SetupStateResponseState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetupStateResponseState
impl<'de> Deserialize<'de> for SetupStateResponseState
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 PartialEq for SetupStateResponseState
impl PartialEq for SetupStateResponseState
Source§impl Serialize for SetupStateResponseState
impl Serialize for SetupStateResponseState
impl StructuralPartialEq for SetupStateResponseState
Auto Trait Implementations§
impl Freeze for SetupStateResponseState
impl RefUnwindSafe for SetupStateResponseState
impl Send for SetupStateResponseState
impl Sync for SetupStateResponseState
impl Unpin for SetupStateResponseState
impl UnsafeUnpin for SetupStateResponseState
impl UnwindSafe for SetupStateResponseState
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