Struct print_nanny_client::models::device_info_request::DeviceInfoRequest [−][src]
pub struct DeviceInfoRequest {
pub machine_id: String,
pub hardware: String,
pub revision: String,
pub model: String,
pub serial: String,
pub cores: i32,
pub ram: i64,
pub image_version: String,
pub device: i32,
}
Fields
machine_id: String
Populated from /etc/machine-id
hardware: String
Populated from /proc/cpuinfo HARDWARE
revision: String
Populated from /proc/cpuinfo REVISION
model: String
Populated from /proc/cpuinfo MODEL
serial: String
Populated from /proc/cpuinfo SERIAL
cores: i32
ram: i64
image_version: String
Print Nanny OS version string from /boot/image_version.txt
device: i32
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceInfoRequest
impl Send for DeviceInfoRequest
impl Sync for DeviceInfoRequest
impl Unpin for DeviceInfoRequest
impl UnwindSafe for DeviceInfoRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more