pub struct FormationRecord {
pub id: Uuid,
pub name: String,
pub status: FormationStatus,
pub document: Value,
}Expand description
Projected view of a formation. The full submitted document is retained so GET /v1/formations/{id} can echo the original spec — clients build their own state machines from this plus the WebSocket event stream.
Fields§
§id: Uuid§name: String§status: FormationStatus§document: ValueTrait Implementations§
Source§impl Clone for FormationRecord
impl Clone for FormationRecord
Source§fn clone(&self) -> FormationRecord
fn clone(&self) -> FormationRecord
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 FormationRecord
impl Debug for FormationRecord
Source§impl<'de> Deserialize<'de> for FormationRecord
impl<'de> Deserialize<'de> for FormationRecord
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 FormationRecord
impl RefUnwindSafe for FormationRecord
impl Send for FormationRecord
impl Sync for FormationRecord
impl Unpin for FormationRecord
impl UnsafeUnpin for FormationRecord
impl UnwindSafe for FormationRecord
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