pub struct EntityGraphBuilder { /* private fields */ }Expand description
Implementations§
Source§impl EntityGraphBuilder
impl EntityGraphBuilder
Sourcepub fn comment(self, comment: impl Into<String>) -> Self
pub fn comment(self, comment: impl Into<String>) -> Self
Set a business-intent comment on this node. The comment will appear in SQL debug logs and audit trails as part of the hierarchical trace chain.
Sourcepub fn child(
self,
relation: impl Into<String>,
child: EntityGraphBuilder,
) -> Self
pub fn child( self, relation: impl Into<String>, child: EntityGraphBuilder, ) -> Self
Attach a child entity under the given relation name.
Sourcepub fn build(self) -> EntityGraph
pub fn build(self) -> EntityGraph
Finalize and produce the EntityGraph.
Auto Trait Implementations§
impl Freeze for EntityGraphBuilder
impl RefUnwindSafe for EntityGraphBuilder
impl Send for EntityGraphBuilder
impl Sync for EntityGraphBuilder
impl Unpin for EntityGraphBuilder
impl UnsafeUnpin for EntityGraphBuilder
impl UnwindSafe for EntityGraphBuilder
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