pub struct EntityGraph {
pub root: EntityGraphNode,
}Expand description
An annotated entity graph ready for saving.
Unlike raw entity.save(), this structure preserves business-intent
comments at every hop in the graph, producing proper trace chains
in SQL logs and audit trails.
Fields§
§root: EntityGraphNodeImplementations§
Source§impl EntityGraph
impl EntityGraph
Sourcepub fn new<T: Entity + TeaqlEntity>(entity: T) -> EntityGraphBuilder
pub fn new<T: Entity + TeaqlEntity>(entity: T) -> EntityGraphBuilder
Start building from an entity.
Auto Trait Implementations§
impl Freeze for EntityGraph
impl RefUnwindSafe for EntityGraph
impl Send for EntityGraph
impl Sync for EntityGraph
impl Unpin for EntityGraph
impl UnsafeUnpin for EntityGraph
impl UnwindSafe for EntityGraph
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