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§
Source§impl Clone for TenderCardDetails
impl Clone for TenderCardDetails
Source§fn clone(&self) -> TenderCardDetails
fn clone(&self) -> TenderCardDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TenderCardDetails
impl Debug for TenderCardDetails
Source§impl<'de> Deserialize<'de> for TenderCardDetails
impl<'de> Deserialize<'de> for TenderCardDetails
Source§fn 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
Source§impl PartialEq for TenderCardDetails
impl PartialEq for TenderCardDetails
Source§impl Serialize for TenderCardDetails
impl Serialize for TenderCardDetails
impl Eq for TenderCardDetails
impl StructuralPartialEq for TenderCardDetails
Auto Trait Implementations§
impl Freeze for TenderCardDetails
impl RefUnwindSafe for TenderCardDetails
impl Send for TenderCardDetails
impl Sync for TenderCardDetails
impl Unpin for TenderCardDetails
impl UnwindSafe for TenderCardDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.