pub struct ValidGiftCardRedemptionAt { /* private fields */ }Implementations§
Source§impl ValidGiftCardRedemptionAt
impl ValidGiftCardRedemptionAt
pub fn try_new( now: Timestamp, redemption: GiftCardRedemption, ) -> DomainResult<Self>
Source§impl ValidGiftCardRedemptionAt
impl ValidGiftCardRedemptionAt
pub fn now(&self) -> <Timestamp as FieldAccess>::Output<'_>
pub fn redemption(&self) -> <GiftCardRedemption as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for ValidGiftCardRedemptionAt
impl Clone for ValidGiftCardRedemptionAt
Source§fn clone(&self) -> ValidGiftCardRedemptionAt
fn clone(&self) -> ValidGiftCardRedemptionAt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidGiftCardRedemptionAt
impl Debug for ValidGiftCardRedemptionAt
Source§impl PartialEq for ValidGiftCardRedemptionAt
impl PartialEq for ValidGiftCardRedemptionAt
Source§fn eq(&self, other: &ValidGiftCardRedemptionAt) -> bool
fn eq(&self, other: &ValidGiftCardRedemptionAt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidGiftCardRedemptionAt
impl StructuralPartialEq for ValidGiftCardRedemptionAt
Auto Trait Implementations§
impl Freeze for ValidGiftCardRedemptionAt
impl RefUnwindSafe for ValidGiftCardRedemptionAt
impl Send for ValidGiftCardRedemptionAt
impl Sync for ValidGiftCardRedemptionAt
impl Unpin for ValidGiftCardRedemptionAt
impl UnsafeUnpin for ValidGiftCardRedemptionAt
impl UnwindSafe for ValidGiftCardRedemptionAt
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