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§
Source§impl Clone for SourceApplication
impl Clone for SourceApplication
Source§fn clone(&self) -> SourceApplication
fn clone(&self) -> SourceApplication
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 SourceApplication
impl Debug for SourceApplication
Source§impl Default for SourceApplication
impl Default for SourceApplication
Source§fn default() -> SourceApplication
fn default() -> SourceApplication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceApplication
impl<'de> Deserialize<'de> for SourceApplication
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 SourceApplication
impl PartialEq for SourceApplication
Source§impl Serialize for SourceApplication
impl Serialize for SourceApplication
impl Eq for SourceApplication
impl StructuralPartialEq for SourceApplication
Auto Trait Implementations§
impl Freeze for SourceApplication
impl RefUnwindSafe for SourceApplication
impl Send for SourceApplication
impl Sync for SourceApplication
impl Unpin for SourceApplication
impl UnwindSafe for SourceApplication
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.