Struct square_api_client::models::ApplicationDetails
source · [−]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
sourceimpl Clone for ApplicationDetails
impl Clone for ApplicationDetails
sourcefn clone(&self) -> ApplicationDetails
fn clone(&self) -> ApplicationDetails
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 ApplicationDetails
impl Debug for ApplicationDetails
sourceimpl Default for ApplicationDetails
impl Default for ApplicationDetails
sourcefn default() -> ApplicationDetails
fn default() -> ApplicationDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ApplicationDetails
impl<'de> Deserialize<'de> for ApplicationDetails
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<ApplicationDetails> for ApplicationDetails
impl PartialEq<ApplicationDetails> for ApplicationDetails
sourcefn eq(&self, other: &ApplicationDetails) -> bool
fn eq(&self, other: &ApplicationDetails) -> bool
sourceimpl Serialize for ApplicationDetails
impl Serialize for ApplicationDetails
impl Eq for ApplicationDetails
impl StructuralEq for ApplicationDetails
impl StructuralPartialEq for ApplicationDetails
Auto Trait Implementations
impl RefUnwindSafe for ApplicationDetails
impl Send for ApplicationDetails
impl Sync for ApplicationDetails
impl Unpin for ApplicationDetails
impl UnwindSafe for ApplicationDetails
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.