square_api_client/models/
device_details.rs

1//! Model struct for DeviceDetails type.
2
3use serde::{Deserialize, Serialize};
4
5/// Details about the device that took the payment.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
7pub struct DeviceDetails {
8    /// The Square-issued ID of the device.
9    pub device_id: Option<String>,
10    /// The Square-issued installation ID for the device.
11    pub device_installation_id: Option<String>,
12    /// The name of the device set by the seller.
13    pub device_name: Option<String>,
14}