pub struct DeviceInfoResponse {
pub uuid: Option<String>,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial: Option<String>,
pub android_id: Option<String>,
pub device_name: Option<String>,
}Expand description
Comprehensive device identification and hardware information.
Contains unique identifiers and basic hardware details that can be used for device fingerprinting, analytics, or user identification.
Fields§
§uuid: Option<String>Unique device identifier (Hardware UUID or GUID)
manufacturer: Option<String>Device manufacturer (e.g., “Apple Inc.”, “Dell Inc.”)
model: Option<String>Device model name (e.g., “MacBook Pro”, “OptiPlex 7090”)
serial: Option<String>Device serial number (may be restricted on some platforms)
android_id: Option<String>Android-specific device ID (Android only)
device_name: Option<String>User-assigned device name (hostname)
Trait Implementations§
Source§impl Clone for DeviceInfoResponse
impl Clone for DeviceInfoResponse
Source§fn clone(&self) -> DeviceInfoResponse
fn clone(&self) -> DeviceInfoResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceInfoResponse
impl Debug for DeviceInfoResponse
Source§impl Default for DeviceInfoResponse
impl Default for DeviceInfoResponse
Source§fn default() -> DeviceInfoResponse
fn default() -> DeviceInfoResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceInfoResponse
impl<'de> Deserialize<'de> for DeviceInfoResponse
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
Auto Trait Implementations§
impl Freeze for DeviceInfoResponse
impl RefUnwindSafe for DeviceInfoResponse
impl Send for DeviceInfoResponse
impl Sync for DeviceInfoResponse
impl Unpin for DeviceInfoResponse
impl UnsafeUnpin for DeviceInfoResponse
impl UnwindSafe for DeviceInfoResponse
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