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