pub struct SqliteReviewRepository { /* private fields */ }Available on crate feature
sqlite only.Implementations§
Source§impl SqliteReviewRepository
impl SqliteReviewRepository
pub const fn new(pool: Pool<SqliteConnectionManager>) -> Self
Trait Implementations§
Source§impl Debug for SqliteReviewRepository
impl Debug for SqliteReviewRepository
Source§impl ReviewRepository for SqliteReviewRepository
impl ReviewRepository for SqliteReviewRepository
Source§fn get_summary(&self, product_id: ProductId) -> Result<ReviewSummary>
fn get_summary(&self, product_id: ProductId) -> Result<ReviewSummary>
Get aggregate review summary for a product
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteReviewRepository
impl !UnwindSafe for SqliteReviewRepository
impl Freeze for SqliteReviewRepository
impl Send for SqliteReviewRepository
impl Sync for SqliteReviewRepository
impl Unpin for SqliteReviewRepository
impl UnsafeUnpin for SqliteReviewRepository
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