pub struct DeviceDetails {
pub device_id: Option<String>,
pub device_installation_id: Option<String>,
pub device_name: Option<String>,
}
Expand description
Details about the device that took the payment.
Fields§
§device_id: Option<String>
The Square-issued ID of the device.
device_installation_id: Option<String>
The Square-issued installation ID for the device.
device_name: Option<String>
The name of the device set by the seller.
Trait Implementations§
Source§impl Clone for DeviceDetails
impl Clone for DeviceDetails
Source§fn clone(&self) -> DeviceDetails
fn clone(&self) -> DeviceDetails
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 DeviceDetails
impl Debug for DeviceDetails
Source§impl Default for DeviceDetails
impl Default for DeviceDetails
Source§fn default() -> DeviceDetails
fn default() -> DeviceDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceDetails
impl<'de> Deserialize<'de> for DeviceDetails
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 DeviceDetails
impl PartialEq for DeviceDetails
Source§impl Serialize for DeviceDetails
impl Serialize for DeviceDetails
impl Eq for DeviceDetails
impl StructuralPartialEq for DeviceDetails
Auto Trait Implementations§
impl Freeze for DeviceDetails
impl RefUnwindSafe for DeviceDetails
impl Send for DeviceDetails
impl Sync for DeviceDetails
impl Unpin for DeviceDetails
impl UnwindSafe for DeviceDetails
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.