Enum gift_shop::gift_card::GiftCardState
source · pub enum GiftCardState {
Unknown,
Created,
}
Variants§
Trait Implementations§
source§impl Clone for GiftCardState
impl Clone for GiftCardState
source§fn clone(&self) -> GiftCardState
fn clone(&self) -> GiftCardState
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 Debug for GiftCardState
impl Debug for GiftCardState
source§impl Default for GiftCardState
impl Default for GiftCardState
source§impl PartialEq<GiftCardState> for GiftCardState
impl PartialEq<GiftCardState> for GiftCardState
source§fn eq(&self, other: &GiftCardState) -> bool
fn eq(&self, other: &GiftCardState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GiftCardState
impl Serialize for GiftCardState
impl StructuralPartialEq for GiftCardState
Auto Trait Implementations§
impl RefUnwindSafe for GiftCardState
impl Send for GiftCardState
impl Sync for GiftCardState
impl Unpin for GiftCardState
impl UnwindSafe for GiftCardState
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