pub struct FormationView {
pub formation: Option<Box<Formation>>,
pub next_stages: Option<Vec<String>>,
}Fields§
§formation: Option<Box<Formation>>Formation is the org’s one incorporation record.
next_stages: Option<Vec<String>>NextStages are the stages reachable from the formation’s current stage, whether or not their guards are satisfied yet.
Implementations§
Source§impl FormationView
impl FormationView
pub fn new() -> FormationView
Trait Implementations§
Source§impl Clone for FormationView
impl Clone for FormationView
Source§fn clone(&self) -> FormationView
fn clone(&self) -> FormationView
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 FormationView
impl Debug for FormationView
Source§impl Default for FormationView
impl Default for FormationView
Source§fn default() -> FormationView
fn default() -> FormationView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FormationView
impl<'de> Deserialize<'de> for FormationView
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 FormationView
impl PartialEq for FormationView
Source§impl Serialize for FormationView
impl Serialize for FormationView
impl StructuralPartialEq for FormationView
Auto Trait Implementations§
impl Freeze for FormationView
impl RefUnwindSafe for FormationView
impl Send for FormationView
impl Sync for FormationView
impl Unpin for FormationView
impl UnsafeUnpin for FormationView
impl UnwindSafe for FormationView
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