pub struct EntityGraphBuilder { /* private fields */ }Implementations§
Source§impl EntityGraphBuilder
impl EntityGraphBuilder
pub fn install<T>(&mut self, id: u64, entity: T)
pub fn entity_count(&self) -> usize
pub fn install_relation_list<T>( &mut self, owner_entity: impl Into<String>, owner_id: u64, relation: impl Into<String>, list: SmartList<T>, )
pub fn install_relation_option<T>( &mut self, owner_entity: impl Into<String>, owner_id: u64, relation: impl Into<String>, value: Option<T>, )
pub fn relation_list_count(&self) -> usize
Trait Implementations§
Source§impl Debug for EntityGraphBuilder
impl Debug for EntityGraphBuilder
Source§impl Default for EntityGraphBuilder
impl Default for EntityGraphBuilder
Source§fn default() -> EntityGraphBuilder
fn default() -> EntityGraphBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EntityGraphBuilder
impl !UnwindSafe for EntityGraphBuilder
impl Freeze for EntityGraphBuilder
impl Send for EntityGraphBuilder
impl Sync for EntityGraphBuilder
impl Unpin for EntityGraphBuilder
impl UnsafeUnpin 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