Struct square_api_client::models::TenderCardDetails
source · [−]pub struct TenderCardDetails {
pub status: Option<TenderCardDetailsStatus>,
pub card: Option<Card>,
pub entry_method: Option<TenderCardDetailsEntryMethod>,
}
Expand description
Represents additional details of a tender with type CARD
or SQUARE_GIFT_CARD
Fields
status: Option<TenderCardDetailsStatus>
The credit card payment’s current state (such as AUTHORIZED
or CAPTURED
). See
TenderCardDetailsStatus for possible values.
card: Option<Card>
The credit card’s non-confidential details.
entry_method: Option<TenderCardDetailsEntryMethod>
The method used to enter the card’s details for the transaction.
Trait Implementations
sourceimpl Clone for TenderCardDetails
impl Clone for TenderCardDetails
sourcefn clone(&self) -> TenderCardDetails
fn clone(&self) -> TenderCardDetails
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 TenderCardDetails
impl Debug for TenderCardDetails
sourceimpl<'de> Deserialize<'de> for TenderCardDetails
impl<'de> Deserialize<'de> for TenderCardDetails
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<TenderCardDetails> for TenderCardDetails
impl PartialEq<TenderCardDetails> for TenderCardDetails
sourcefn eq(&self, other: &TenderCardDetails) -> bool
fn eq(&self, other: &TenderCardDetails) -> bool
sourceimpl Serialize for TenderCardDetails
impl Serialize for TenderCardDetails
impl Eq for TenderCardDetails
impl StructuralEq for TenderCardDetails
impl StructuralPartialEq for TenderCardDetails
Auto Trait Implementations
impl RefUnwindSafe for TenderCardDetails
impl Send for TenderCardDetails
impl Sync for TenderCardDetails
impl Unpin for TenderCardDetails
impl UnwindSafe for TenderCardDetails
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.