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