pub struct ApplicationDetails {
pub square_product: Option<ApplicationDetailsExternalSquareProduct>,
pub application_id: Option<String>,
}
Expand description
Details about the application that took the payment.
Fields§
§square_product: Option<ApplicationDetailsExternalSquareProduct>
The Square product, such as Square Point of Sale (POS), Square Invoices, or Square Virtual Terminal.
application_id: Option<String>
The Square ID assigned to the application used to take the payment. Application developers can use this information to identify payments that their application processed. For example, if a developer uses a custom application to process payments, this field contains the application ID from the Developer Dashboard. If a seller uses a Square App Marketplace application to process payments, the field contains the corresponding application ID.
Trait Implementations§
Source§impl Clone for ApplicationDetails
impl Clone for ApplicationDetails
Source§fn clone(&self) -> ApplicationDetails
fn clone(&self) -> ApplicationDetails
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 ApplicationDetails
impl Debug for ApplicationDetails
Source§impl Default for ApplicationDetails
impl Default for ApplicationDetails
Source§fn default() -> ApplicationDetails
fn default() -> ApplicationDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationDetails
impl<'de> Deserialize<'de> for ApplicationDetails
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 ApplicationDetails
impl PartialEq for ApplicationDetails
Source§impl Serialize for ApplicationDetails
impl Serialize for ApplicationDetails
impl Eq for ApplicationDetails
impl StructuralPartialEq for ApplicationDetails
Auto Trait Implementations§
impl Freeze for ApplicationDetails
impl RefUnwindSafe for ApplicationDetails
impl Send for ApplicationDetails
impl Sync for ApplicationDetails
impl Unpin for ApplicationDetails
impl UnwindSafe for ApplicationDetails
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.