pub struct InlineElementRepositoryRO<'a> { /* private fields */ }Implementations§
Source§impl<'a> InlineElementRepositoryRO<'a>
impl<'a> InlineElementRepositoryRO<'a>
pub fn new(table: Box<dyn InlineElementTableRO + 'a>) -> Self
pub fn get( &self, id: &EntityId, ) -> Result<Option<InlineElement>, RepositoryError>
pub fn get_multi( &self, ids: &[EntityId], ) -> Result<Vec<Option<InlineElement>>, RepositoryError>
pub fn get_all(&self) -> Result<Vec<InlineElement>, RepositoryError>
Auto Trait Implementations§
impl<'a> Freeze for InlineElementRepositoryRO<'a>
impl<'a> !RefUnwindSafe for InlineElementRepositoryRO<'a>
impl<'a> !Send for InlineElementRepositoryRO<'a>
impl<'a> !Sync for InlineElementRepositoryRO<'a>
impl<'a> Unpin for InlineElementRepositoryRO<'a>
impl<'a> UnsafeUnpin for InlineElementRepositoryRO<'a>
impl<'a> !UnwindSafe for InlineElementRepositoryRO<'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