pub struct InMemoryEntityGraphDecoderRegistry { /* private fields */ }Implementations§
Source§impl InMemoryEntityGraphDecoderRegistry
impl InMemoryEntityGraphDecoderRegistry
pub fn contains(&self, entity: &str) -> bool
pub fn register<T>(&mut self)
pub fn decode_compact( &self, entity: &str, row: CompactRow, root: &EntityRuntimeState, graph: &mut EntityGraphBuilder, ) -> Result<(), EntityError>
pub fn decode_compact_list( &self, entity: &str, rows: Vec<CompactRow>, root: &EntityRuntimeState, graph: &mut EntityGraphBuilder, owner_entity: &str, owner_id: u64, relation: &str, ) -> Result<(), EntityError>
pub fn decode_compact_batch( &self, entity: &str, rows: Vec<CompactRow>, root: &EntityRuntimeState, graph: &mut EntityGraphBuilder, ) -> Result<(), EntityError>
pub fn decode_compact_option( &self, entity: &str, rows: Vec<CompactRow>, root: &EntityRuntimeState, graph: &mut EntityGraphBuilder, owner_entity: &str, owner_id: u64, relation: &str, ) -> Result<(), EntityError>
Trait Implementations§
Source§impl Clone for InMemoryEntityGraphDecoderRegistry
impl Clone for InMemoryEntityGraphDecoderRegistry
Source§fn clone(&self) -> InMemoryEntityGraphDecoderRegistry
fn clone(&self) -> InMemoryEntityGraphDecoderRegistry
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 moreSource§impl Default for InMemoryEntityGraphDecoderRegistry
impl Default for InMemoryEntityGraphDecoderRegistry
Source§fn default() -> InMemoryEntityGraphDecoderRegistry
fn default() -> InMemoryEntityGraphDecoderRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryEntityGraphDecoderRegistry
impl RefUnwindSafe for InMemoryEntityGraphDecoderRegistry
impl Send for InMemoryEntityGraphDecoderRegistry
impl Sync for InMemoryEntityGraphDecoderRegistry
impl Unpin for InMemoryEntityGraphDecoderRegistry
impl UnsafeUnpin for InMemoryEntityGraphDecoderRegistry
impl UnwindSafe for InMemoryEntityGraphDecoderRegistry
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