pub struct CaptureBaseCacheRepo { /* private fields */ }
Implementations§
Source§impl CaptureBaseCacheRepo
impl CaptureBaseCacheRepo
pub fn new(connection: Connection) -> Self
pub fn insert(&self, model: CaptureBaseCacheRecord)
pub fn fetch_all(&self, limit: usize, page: usize) -> Vec<AllCaptureBaseRecord>
Auto Trait Implementations§
impl Freeze for CaptureBaseCacheRepo
impl RefUnwindSafe for CaptureBaseCacheRepo
impl Send for CaptureBaseCacheRepo
impl Sync for CaptureBaseCacheRepo
impl Unpin for CaptureBaseCacheRepo
impl UnwindSafe for CaptureBaseCacheRepo
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