Enum square_api_client::models::enums::GiftCardGANSource
source · [−]pub enum GiftCardGANSource {
Square,
Other,
}
Expand description
Indicates the source that generated the gift card account number (GAN).
Variants
Square
The GAN is generated by Square.
Other
The GAN is provided by a non-Square system. For more information, see Custom GANs or Third-party gift cards.
Trait Implementations
sourceimpl Clone for GiftCardGANSource
impl Clone for GiftCardGANSource
sourcefn clone(&self) -> GiftCardGANSource
fn clone(&self) -> GiftCardGANSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GiftCardGANSource
impl Debug for GiftCardGANSource
sourceimpl<'de> Deserialize<'de> for GiftCardGANSource
impl<'de> Deserialize<'de> for GiftCardGANSource
sourcefn 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
sourceimpl PartialEq<GiftCardGANSource> for GiftCardGANSource
impl PartialEq<GiftCardGANSource> for GiftCardGANSource
sourcefn eq(&self, other: &GiftCardGANSource) -> bool
fn eq(&self, other: &GiftCardGANSource) -> bool
sourceimpl Serialize for GiftCardGANSource
impl Serialize for GiftCardGANSource
impl Eq for GiftCardGANSource
impl StructuralEq for GiftCardGANSource
impl StructuralPartialEq for GiftCardGANSource
Auto Trait Implementations
impl RefUnwindSafe for GiftCardGANSource
impl Send for GiftCardGANSource
impl Sync for GiftCardGANSource
impl Unpin for GiftCardGANSource
impl UnwindSafe for GiftCardGANSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.