pub struct EntityGraphNode {
pub entity_type: String,
pub values: MutationValues,
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 mutation values, an optional business-intent comment, and child nodes keyed by relation name.
Fields§
§entity_type: String§values: MutationValues§comment: Option<String>§operation: EntityGraphOperation§children: Vec<(String, EntityGraphNode)>Trait Implementations§
Source§impl Clone for EntityGraphNode
impl Clone for EntityGraphNode
Auto 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