Struct square_api_client::models::GiftCardActivityImport
source · [−]pub struct GiftCardActivityImport {
pub amount_money: Money,
}
Expand description
Represents details about an IMPORT
gift card activity type.
This activity type is used when Square imports a third-party gift card, in which case the
gan_source
of the gift card is set to OTHER
.
Fields
amount_money: Money
The balance amount on the imported gift card.
Trait Implementations
sourceimpl Clone for GiftCardActivityImport
impl Clone for GiftCardActivityImport
sourcefn clone(&self) -> GiftCardActivityImport
fn clone(&self) -> GiftCardActivityImport
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 GiftCardActivityImport
impl Debug for GiftCardActivityImport
sourceimpl Default for GiftCardActivityImport
impl Default for GiftCardActivityImport
sourcefn default() -> GiftCardActivityImport
fn default() -> GiftCardActivityImport
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GiftCardActivityImport
impl<'de> Deserialize<'de> for GiftCardActivityImport
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<GiftCardActivityImport> for GiftCardActivityImport
impl PartialEq<GiftCardActivityImport> for GiftCardActivityImport
sourcefn eq(&self, other: &GiftCardActivityImport) -> bool
fn eq(&self, other: &GiftCardActivityImport) -> bool
sourceimpl Serialize for GiftCardActivityImport
impl Serialize for GiftCardActivityImport
impl Eq for GiftCardActivityImport
impl StructuralEq for GiftCardActivityImport
impl StructuralPartialEq for GiftCardActivityImport
Auto Trait Implementations
impl RefUnwindSafe for GiftCardActivityImport
impl Send for GiftCardActivityImport
impl Sync for GiftCardActivityImport
impl Unpin for GiftCardActivityImport
impl UnwindSafe for GiftCardActivityImport
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.