Struct gift_shop::order::OrderRepository
source · pub struct OrderRepository {}
Implementations§
source§impl OrderRepository
impl OrderRepository
pub async fn create( entity: &OrderCreated, pool: PoolConnection<Postgres> ) -> Result<Order, Error>
pub async fn add_gift_card( entity: &GiftCardAdded, pool: PoolConnection<Postgres> ) -> Result<Order, Error>
Auto Trait Implementations§
impl RefUnwindSafe for OrderRepository
impl Send for OrderRepository
impl Sync for OrderRepository
impl Unpin for OrderRepository
impl UnwindSafe for OrderRepository
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