Struct print_nanny_client::models::print_job_event::PrintJobEvent [−][src]
pub struct PrintJobEvent {}Show fields
pub id: Option<i32>, pub event_type: EventTypeD9eEnum, pub ts: Option<String>, pub event_source: Option<Box<EventSourceEnum>>, pub event_data: Option<HashMap<String, Value>>, pub octoprint_environment: Option<HashMap<String, Value>>, pub octoprint_printer_data: Option<HashMap<String, Value>>, pub temperature: Option<HashMap<String, Value>>, pub print_nanny_plugin_version: String, pub print_nanny_client_version: String, pub octoprint_version: String, pub polymorphic_ctype: Option<i32>, pub octoprint_device: i32, pub user: Option<i32>, pub print_session: Option<i32>,
Fields
id: Option<i32>
event_type: EventTypeD9eEnum
ts: Option<String>
event_source: Option<Box<EventSourceEnum>>
event_data: Option<HashMap<String, Value>>
octoprint_environment: Option<HashMap<String, Value>>
octoprint_printer_data: Option<HashMap<String, Value>>
temperature: Option<HashMap<String, Value>>
print_nanny_plugin_version: String
print_nanny_client_version: String
octoprint_version: String
polymorphic_ctype: Option<i32>
octoprint_device: i32
user: Option<i32>
print_session: Option<i32>
Implementations
pub fn new(
event_type: EventTypeD9eEnum,
print_nanny_plugin_version: String,
print_nanny_client_version: String,
octoprint_version: String,
octoprint_device: i32
) -> PrintJobEvent
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 PrintJobEvent
impl Send for PrintJobEvent
impl Sync for PrintJobEvent
impl Unpin for PrintJobEvent
impl UnwindSafe for PrintJobEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more