Struct print_nanny_client::models::octo_print_device::OctoPrintDevice[][src]

pub struct OctoPrintDevice {
Show 28 fields pub id: i32, pub created_dt: String, pub name: String, pub user: i32, pub public_key: String, pub fingerprint: String, pub cloudiot_device: HashMap<String, Value>, pub cloudiot_device_name: String, pub cloudiot_device_path: String, pub cloudiot_device_num_id: i32, pub model: String, pub platform: String, pub cpu_flags: Option<Vec<String>>, pub hardware: Option<String>, pub revision: Option<String>, pub serial: String, pub cores: i32, pub ram: i32, pub python_version: String, pub pip_version: String, pub virtualenv: Option<String>, pub octoprint_version: String, pub plugin_version: String, pub print_nanny_client_version: String, pub cloudiot_device_configs: String, pub manage_url: String, pub monitoring_active: bool, pub active_session: Option<Box<PrintSession>>,
}

Fields

id: i32created_dt: Stringname: Stringuser: i32public_key: Stringfingerprint: Stringcloudiot_device: HashMap<String, Value>cloudiot_device_name: Stringcloudiot_device_path: Stringcloudiot_device_num_id: i32model: Stringplatform: Stringcpu_flags: Option<Vec<String>>hardware: Option<String>revision: Option<String>serial: Stringcores: i32ram: i32python_version: Stringpip_version: Stringvirtualenv: Option<String>octoprint_version: Stringplugin_version: Stringprint_nanny_client_version: Stringcloudiot_device_configs: Stringmanage_url: Stringmonitoring_active: boolactive_session: Option<Box<PrintSession>>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.