Struct square_api_client::models::SourceApplication
source · [−]pub struct SourceApplication {
pub product: Option<Product>,
pub application_id: Option<String>,
pub name: Option<String>,
}
Expand description
Provides information about the application used to generate a change.
Fields
product: Option<Product>
Read-only Product type for the application.
application_id: Option<String>
Read-only Square ID assigned to the application. Only used for Product type
EXTERNAL_API
.
name: Option<String>
Read-only display name assigned to the application (e.g. "Custom Application"
,
"Square POS 4.74 for Android"
).
Trait Implementations
sourceimpl Clone for SourceApplication
impl Clone for SourceApplication
sourcefn clone(&self) -> SourceApplication
fn clone(&self) -> SourceApplication
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 SourceApplication
impl Debug for SourceApplication
sourceimpl Default for SourceApplication
impl Default for SourceApplication
sourcefn default() -> SourceApplication
fn default() -> SourceApplication
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SourceApplication
impl<'de> Deserialize<'de> for SourceApplication
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<SourceApplication> for SourceApplication
impl PartialEq<SourceApplication> for SourceApplication
sourcefn eq(&self, other: &SourceApplication) -> bool
fn eq(&self, other: &SourceApplication) -> bool
sourceimpl Serialize for SourceApplication
impl Serialize for SourceApplication
impl Eq for SourceApplication
impl StructuralEq for SourceApplication
impl StructuralPartialEq for SourceApplication
Auto Trait Implementations
impl RefUnwindSafe for SourceApplication
impl Send for SourceApplication
impl Sync for SourceApplication
impl Unpin for SourceApplication
impl UnwindSafe for SourceApplication
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.