pub struct InlineElementHashMapTable<'a> { /* private fields */ }Implementations§
Source§impl<'a> InlineElementHashMapTable<'a>
impl<'a> InlineElementHashMapTable<'a>
pub fn new(store: &'a HashMapStore) -> Self
Trait Implementations§
Source§impl<'a> InlineElementTable for InlineElementHashMapTable<'a>
impl<'a> InlineElementTable for InlineElementHashMapTable<'a>
fn create( &mut self, entity: &InlineElement, ) -> Result<InlineElement, RepositoryError>
fn create_multi( &mut self, entities: &[InlineElement], ) -> Result<Vec<InlineElement>, RepositoryError>
fn get(&self, id: &EntityId) -> Result<Option<InlineElement>, RepositoryError>
fn get_multi( &self, ids: &[EntityId], ) -> Result<Vec<Option<InlineElement>>, RepositoryError>
fn get_all(&self) -> Result<Vec<InlineElement>, RepositoryError>
fn update( &mut self, entity: &InlineElement, ) -> Result<InlineElement, RepositoryError>
fn update_multi( &mut self, entities: &[InlineElement], ) -> Result<Vec<InlineElement>, RepositoryError>
fn update_with_relationships( &mut self, entity: &InlineElement, ) -> Result<InlineElement, RepositoryError>
fn update_with_relationships_multi( &mut self, entities: &[InlineElement], ) -> Result<Vec<InlineElement>, RepositoryError>
fn remove(&mut self, id: &EntityId) -> Result<(), RepositoryError>
fn remove_multi(&mut self, ids: &[EntityId]) -> Result<(), RepositoryError>
Auto Trait Implementations§
impl<'a> Freeze for InlineElementHashMapTable<'a>
impl<'a> RefUnwindSafe for InlineElementHashMapTable<'a>
impl<'a> Send for InlineElementHashMapTable<'a>
impl<'a> Sync for InlineElementHashMapTable<'a>
impl<'a> Unpin for InlineElementHashMapTable<'a>
impl<'a> UnsafeUnpin for InlineElementHashMapTable<'a>
impl<'a> UnwindSafe for InlineElementHashMapTable<'a>
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