pub struct InMemoryMetadataStore { /* private fields */ }Implementations§
Source§impl InMemoryMetadataStore
impl InMemoryMetadataStore
pub fn new() -> Self
pub fn register(&mut self, entity: EntityDescriptor)
pub fn with_entity(self, entity: EntityDescriptor) -> Self
Trait Implementations§
Source§impl Clone for InMemoryMetadataStore
impl Clone for InMemoryMetadataStore
Source§fn clone(&self) -> InMemoryMetadataStore
fn clone(&self) -> InMemoryMetadataStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryMetadataStore
impl Debug for InMemoryMetadataStore
Source§impl Default for InMemoryMetadataStore
impl Default for InMemoryMetadataStore
Source§fn default() -> InMemoryMetadataStore
fn default() -> InMemoryMetadataStore
Returns the “default value” for a type. Read more
Source§impl EntityDescriptorStore for InMemoryMetadataStore
impl EntityDescriptorStore for InMemoryMetadataStore
fn register_descriptor(&mut self, descriptor: EntityDescriptor)
Source§impl MetadataStore for InMemoryMetadataStore
impl MetadataStore for InMemoryMetadataStore
fn entity(&self, name: &str) -> Option<&EntityDescriptor>
fn all_entities(&self) -> Vec<&EntityDescriptor>
Auto Trait Implementations§
impl Freeze for InMemoryMetadataStore
impl RefUnwindSafe for InMemoryMetadataStore
impl Send for InMemoryMetadataStore
impl Sync for InMemoryMetadataStore
impl Unpin for InMemoryMetadataStore
impl UnsafeUnpin for InMemoryMetadataStore
impl UnwindSafe for InMemoryMetadataStore
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