pub struct ModelNode {
pub id: String,
pub properties: BTreeMap<String, Value>,
pub children: Vec<ModelNode>,
}Expand description
A node of the application model: an id, settings and nodes under it.
Fields§
§id: StringWhat it is known by among the nodes beside it.
properties: BTreeMap<String, Value>Its settings.
children: Vec<ModelNode>The nodes under it, in the order they came.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ModelNode
Auto Trait Implementations§
impl Freeze for ModelNode
impl RefUnwindSafe for ModelNode
impl Send for ModelNode
impl Sync for ModelNode
impl Unpin for ModelNode
impl UnsafeUnpin for ModelNode
impl UnwindSafe for ModelNode
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