pub struct FleetLayout {
pub positions: HashMap<String, Value3>,
pub edges: Vec<FleetLayoutEdge>,
pub notes: Option<Vec<FleetLayoutNote>>,
pub drafts: Option<Vec<FleetLayoutDraft>>,
pub updated_at: Option<String>,
pub dropped: Option<FleetLayoutDropped>,
}Expand description
The operator’s canvas: where each agent sits, how they are wired, and the notes and not-yet-real nodes drawn around them. Persisted as one record per tenant.
Fields§
§positions: HashMap<String, Value3>Agent id → its place on the canvas.
edges: Vec<FleetLayoutEdge>§notes: Option<Vec<FleetLayoutNote>>§drafts: Option<Vec<FleetLayoutDraft>>§updated_at: Option<String>§dropped: Option<FleetLayoutDropped>Present ONLY when the save discarded something. Counts per collection of the items that did not survive the caps or validation. A 200 without this field saved everything.
Trait Implementations§
Source§impl Clone for FleetLayout
impl Clone for FleetLayout
Source§fn clone(&self) -> FleetLayout
fn clone(&self) -> FleetLayout
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 FleetLayout
impl Debug for FleetLayout
Source§impl Default for FleetLayout
impl Default for FleetLayout
Source§fn default() -> FleetLayout
fn default() -> FleetLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetLayout
impl<'de> Deserialize<'de> for FleetLayout
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 FleetLayout
impl PartialEq for FleetLayout
Source§impl Serialize for FleetLayout
impl Serialize for FleetLayout
impl StructuralPartialEq for FleetLayout
Auto Trait Implementations§
impl Freeze for FleetLayout
impl RefUnwindSafe for FleetLayout
impl Send for FleetLayout
impl Sync for FleetLayout
impl Unpin for FleetLayout
impl UnsafeUnpin for FleetLayout
impl UnwindSafe for FleetLayout
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