Struct print_nanny_client::models::print_session::PrintSession [−][src]
pub struct PrintSession {Show 18 fields
pub id: i32,
pub created_dt: String,
pub updated_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 user: 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>>,
pub url: String,
pub datesegment: String,
}
Fields
id: i32
created_dt: String
updated_dt: String
octoprint_device: i32
active: Option<bool>
session: String
filepos: Option<i32>
print_progress: Option<i32>
time_elapsed: Option<i32>
time_remaining: Option<i32>
user: 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>>
url: String
datesegment: String
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 PrintSession
impl Send for PrintSession
impl Sync for PrintSession
impl Unpin for PrintSession
impl UnwindSafe for PrintSession
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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