pub struct EntityGraphNode {
pub entity_type: String,
pub record: Record,
pub comment: Option<String>,
pub operation: EntityGraphOperation,
pub children: Vec<(String, EntityGraphNode)>,
}Expand description
A single node in an annotated entity graph.
Carries the entity’s record data, an optional business-intent comment, and child nodes keyed by relation name.
Fields§
§entity_type: String§record: Record§comment: Option<String>§operation: EntityGraphOperation§children: Vec<(String, EntityGraphNode)>Trait Implementations§
Source§impl Clone for EntityGraphNode
impl Clone for EntityGraphNode
Source§fn clone(&self) -> EntityGraphNode
fn clone(&self) -> EntityGraphNode
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 moreAuto Trait Implementations§
impl Freeze for EntityGraphNode
impl RefUnwindSafe for EntityGraphNode
impl Send for EntityGraphNode
impl Sync for EntityGraphNode
impl Unpin for EntityGraphNode
impl UnsafeUnpin for EntityGraphNode
impl UnwindSafe for EntityGraphNode
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