Struct gift_shop::events::gift_card::GiftCardUsed
source · pub struct GiftCardUsed {
pub gift_card_id: Uuid,
pub account_id: Uuid,
}
Fields§
§gift_card_id: Uuid
§account_id: Uuid
Trait Implementations§
source§impl Clone for GiftCardUsed
impl Clone for GiftCardUsed
source§fn clone(&self) -> GiftCardUsed
fn clone(&self) -> GiftCardUsed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for GiftCardUsed
impl<'de> Deserialize<'de> for GiftCardUsed
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Event for GiftCardUsed
impl Event for GiftCardUsed
source§impl Serialize for GiftCardUsed
impl Serialize for GiftCardUsed
source§impl TryFrom<RecordedEvent> for GiftCardUsed
impl TryFrom<RecordedEvent> for GiftCardUsed
impl Event for GiftCardUsed
Auto Trait Implementations§
impl RefUnwindSafe for GiftCardUsed
impl Send for GiftCardUsed
impl Sync for GiftCardUsed
impl Unpin for GiftCardUsed
impl UnwindSafe for GiftCardUsed
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