Enum print_nanny_client::models::telemetry_event_polymorphic_request::TelemetryEventPolymorphicRequest[][src]

pub enum TelemetryEventPolymorphicRequest {
    OctoPrintEventRequest {
        ts: Option<f32>,
        event_source: Option<Box<EventSourceEnum>>,
        event_type: Option<Box<OctoPrintEventEventTypeEnum>>,
        octoprint_environment: Box<OctoprintEnvironmentRequest>,
        octoprint_printer_data: Box<OctoprintPrinterDataRequest>,
        event_data: Option<HashMap<String, Value>>,
        temperature: Option<HashMap<String, Value>>,
        print_nanny_plugin_version: String,
        print_nanny_client_version: String,
        octoprint_version: String,
        octoprint_device: i32,
        print_session: Option<i32>,
    },
    PrintJobEventRequest {
        ts: Option<f32>,
        event_source: Option<Box<EventSourceEnum>>,
        event_type: Option<Box<PrintJobEventType>>,
        octoprint_environment: Box<OctoprintEnvironmentRequest>,
        octoprint_printer_data: Box<OctoprintPrinterDataRequest>,
        event_data: Option<HashMap<String, Value>>,
        temperature: Option<HashMap<String, Value>>,
        print_nanny_plugin_version: String,
        print_nanny_client_version: String,
        octoprint_version: String,
        octoprint_device: i32,
        print_session: Option<i32>,
    },
    PrintNannyPluginEventRequest {
        ts: Option<f32>,
        event_source: Option<Box<EventSourceEnum>>,
        event_type: Option<Box<PrintNannyPluginEventEventTypeEnum>>,
        octoprint_environment: Box<OctoprintEnvironmentRequest>,
        octoprint_printer_data: Box<OctoprintPrinterDataRequest>,
        event_data: Option<HashMap<String, Value>>,
        temperature: Option<HashMap<String, Value>>,
        print_nanny_plugin_version: String,
        print_nanny_client_version: String,
        octoprint_version: String,
        octoprint_device: i32,
        print_session: Option<i32>,
    },
    PrinterEventRequest {
Show 13 fields ts: Option<f32>, event_source: Option<Box<EventSourceEnum>>, event_type: Option<Box<EventType0c4Enum>>, octoprint_environment: Box<OctoprintEnvironmentRequest>, octoprint_printer_data: Box<OctoprintPrinterDataRequest>, event_data: Option<HashMap<String, Value>>, temperature: Option<HashMap<String, Value>>, print_nanny_plugin_version: String, print_nanny_client_version: String, octoprint_version: String, printer_state: Option<PrinterStateEnum>, octoprint_device: i32, print_session: Option<i32>,
}, RemoteCommandEventRequest { ts: Option<f32>, event_source: Option<Box<EventSourceEnum>>, event_type: Option<Box<RemoteCommandEventEventTypeEnum>>, octoprint_environment: Box<OctoprintEnvironmentRequest>, octoprint_printer_data: Box<OctoprintPrinterDataRequest>, event_data: Option<HashMap<String, Value>>, temperature: Option<HashMap<String, Value>>, print_nanny_plugin_version: String, print_nanny_client_version: String, octoprint_version: String, octoprint_device: i32, print_session: Option<i32>, }, TelemetryEventRequest { ts: Option<f32>, event_source: Option<Box<EventSourceEnum>>, event_type: Option<Box<TelemetryEventEventTypeEnum>>, octoprint_environment: Box<OctoprintEnvironmentRequest>, octoprint_printer_data: Box<OctoprintPrinterDataRequest>, event_data: Option<HashMap<String, Value>>, temperature: Option<HashMap<String, Value>>, print_nanny_plugin_version: String, print_nanny_client_version: String, octoprint_version: String, octoprint_device: i32, print_session: Option<i32>, }, }

Variants

OctoPrintEventRequest

Fields of OctoPrintEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<OctoPrintEventEventTypeEnum>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringoctoprint_device: i32print_session: Option<i32>
PrintJobEventRequest

Fields of PrintJobEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<PrintJobEventType>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringoctoprint_device: i32print_session: Option<i32>
PrintNannyPluginEventRequest

Fields of PrintNannyPluginEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<PrintNannyPluginEventEventTypeEnum>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringoctoprint_device: i32print_session: Option<i32>
PrinterEventRequest

Fields of PrinterEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<EventType0c4Enum>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringprinter_state: Option<PrinterStateEnum>octoprint_device: i32print_session: Option<i32>
RemoteCommandEventRequest

Fields of RemoteCommandEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<RemoteCommandEventEventTypeEnum>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringoctoprint_device: i32print_session: Option<i32>
TelemetryEventRequest

Fields of TelemetryEventRequest

ts: Option<f32>event_source: Option<Box<EventSourceEnum>>event_type: Option<Box<TelemetryEventEventTypeEnum>>octoprint_environment: Box<OctoprintEnvironmentRequest>octoprint_printer_data: Box<OctoprintPrinterDataRequest>event_data: Option<HashMap<String, Value>>temperature: Option<HashMap<String, Value>>print_nanny_plugin_version: Stringprint_nanny_client_version: Stringoctoprint_version: Stringoctoprint_device: i32print_session: Option<i32>

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