Struct print_nanny_client::models::device::Device [−][src]
pub struct Device {}Show 22 fields
pub id: i32, pub deleted: String, pub created_dt: String, pub updated_dt: String, pub user: i32, pub name: String, pub public_key: String, pub fingerprint: String, pub cloudiot_device_name: String, pub cloudiot_device_path: String, pub cloudiot_device_num_id: i32, pub os_version: String, pub os: String, pub kernel_version: String, pub hardware: Option<String>, pub revision: Option<String>, pub model: Option<String>, pub serial: Option<String>, pub cores: i32, pub ram: i64, pub cpu_flags: Vec<String>, pub url: String,
Fields
id: i32
deleted: String
created_dt: String
updated_dt: String
user: i32
name: String
public_key: String
fingerprint: String
cloudiot_device_name: String
cloudiot_device_path: String
cloudiot_device_num_id: i32
os_version: String
os: String
kernel_version: String
hardware: Option<String>
revision: Option<String>
model: Option<String>
serial: Option<String>
cores: i32
ram: i64
cpu_flags: Vec<String>
url: String
Implementations
pub fn new(
id: i32,
deleted: String,
created_dt: String,
updated_dt: String,
user: i32,
name: String,
public_key: String,
fingerprint: String,
cloudiot_device_name: String,
cloudiot_device_path: String,
cloudiot_device_num_id: i32,
os_version: String,
os: String,
kernel_version: String,
cores: i32,
ram: i64,
cpu_flags: Vec<String>,
url: String
) -> Device
Trait Implementations
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 RefUnwindSafe for Device
impl UnwindSafe for Device
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more