Struct print_nanny_client::models::octo_print_device_request::OctoPrintDeviceRequest [−][src]
pub struct OctoPrintDeviceRequest {Show 16 fields
pub name: String,
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 active_session: Option<Box<PrintSessionRequest>>,
}
Fields
name: String
model: String
platform: String
cpu_flags: Option<Vec<String>>
hardware: Option<String>
revision: Option<String>
serial: String
cores: i32
ram: i32
python_version: String
pip_version: String
virtualenv: Option<String>
octoprint_version: String
plugin_version: String
print_nanny_client_version: String
active_session: Option<Box<PrintSessionRequest>>
Implementations
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
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 OctoPrintDeviceRequest
impl Send for OctoPrintDeviceRequest
impl Sync for OctoPrintDeviceRequest
impl Unpin for OctoPrintDeviceRequest
impl UnwindSafe for OctoPrintDeviceRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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