pub struct InMemoryEntityDataServiceBehaviorRegistry { /* private fields */ }Implementations§
Source§impl InMemoryEntityDataServiceBehaviorRegistry
impl InMemoryEntityDataServiceBehaviorRegistry
pub fn new() -> Self
pub fn register( &mut self, entity: impl Into<String>, behavior: impl EntityDataServiceBehavior + 'static, )
pub fn with_behavior( self, entity: impl Into<String>, behavior: impl EntityDataServiceBehavior + 'static, ) -> Self
Trait Implementations§
Source§impl Clone for InMemoryEntityDataServiceBehaviorRegistry
impl Clone for InMemoryEntityDataServiceBehaviorRegistry
Source§fn clone(&self) -> InMemoryEntityDataServiceBehaviorRegistry
fn clone(&self) -> InMemoryEntityDataServiceBehaviorRegistry
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 InMemoryEntityDataServiceBehaviorRegistry
impl Default for InMemoryEntityDataServiceBehaviorRegistry
Source§fn default() -> InMemoryEntityDataServiceBehaviorRegistry
fn default() -> InMemoryEntityDataServiceBehaviorRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryEntityDataServiceBehaviorRegistry
impl !UnwindSafe for InMemoryEntityDataServiceBehaviorRegistry
impl Freeze for InMemoryEntityDataServiceBehaviorRegistry
impl Send for InMemoryEntityDataServiceBehaviorRegistry
impl Sync for InMemoryEntityDataServiceBehaviorRegistry
impl Unpin for InMemoryEntityDataServiceBehaviorRegistry
impl UnsafeUnpin for InMemoryEntityDataServiceBehaviorRegistry
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