Struct print_nanny_client::models::print_session_request::PrintSessionRequest[][src]

pub struct PrintSessionRequest {
Show 13 fields pub created_dt: String, pub octoprint_device: i32, pub active: Option<bool>, pub session: String, pub filepos: Option<i32>, pub print_progress: Option<i32>, pub time_elapsed: Option<i32>, pub time_remaining: Option<i32>, pub printer_profile: Option<i32>, pub gcode_file: Option<i32>, pub gcode_filename: Option<String>, pub octoprint_job: Option<HashMap<String, Value>>, pub print_job_status: Option<Box<PrintJobStatusEnum>>,
}

Fields

created_dt: Stringoctoprint_device: i32active: Option<bool>session: Stringfilepos: Option<i32>print_progress: Option<i32>time_elapsed: Option<i32>time_remaining: Option<i32>printer_profile: Option<i32>gcode_file: Option<i32>gcode_filename: Option<String>octoprint_job: Option<HashMap<String, Value>>print_job_status: Option<Box<PrintJobStatusEnum>>

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.

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