pub struct SetupStateResponse {
pub state: SetupStateResponseState,
pub required_steps: Vec<String>,
pub all_steps: Vec<String>,
pub missing_required: Vec<String>,
}Expand description
SetupStateResponse model.
Fields§
§state: SetupStateResponseState§required_steps: Vec<String>The subset that gates going live. Read it rather than hard-coding it.
all_steps: Vec<String>Every known step id, required and optional.
missing_required: Vec<String>Required steps still outstanding. Non-empty means an attempt to open registration is refused and will name this list.
Trait Implementations§
Source§impl Clone for SetupStateResponse
impl Clone for SetupStateResponse
Source§fn clone(&self) -> SetupStateResponse
fn clone(&self) -> SetupStateResponse
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 SetupStateResponse
impl Debug for SetupStateResponse
Source§impl Default for SetupStateResponse
impl Default for SetupStateResponse
Source§fn default() -> SetupStateResponse
fn default() -> SetupStateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetupStateResponse
impl<'de> Deserialize<'de> for SetupStateResponse
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 SetupStateResponse
impl PartialEq for SetupStateResponse
Source§impl Serialize for SetupStateResponse
impl Serialize for SetupStateResponse
impl StructuralPartialEq for SetupStateResponse
Auto Trait Implementations§
impl Freeze for SetupStateResponse
impl RefUnwindSafe for SetupStateResponse
impl Send for SetupStateResponse
impl Sync for SetupStateResponse
impl Unpin for SetupStateResponse
impl UnsafeUnpin for SetupStateResponse
impl UnwindSafe for SetupStateResponse
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