pub struct RemoteCommandEvent {Show 15 fields
pub id: Option<i32>,
pub ts: Option<f32>,
pub event_source: Option<Box<EventSourceEnum>>,
pub event_type: Option<Box<RemoteCommandEventEventTypeEnum>>,
pub octoprint_environment: Box<OctoprintEnvironment>,
pub octoprint_printer_data: Box<OctoprintPrinterData>,
pub event_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>§ts: Option<f32>§event_source: Option<Box<EventSourceEnum>>§event_type: Option<Box<RemoteCommandEventEventTypeEnum>>§octoprint_environment: Box<OctoprintEnvironment>§octoprint_printer_data: Box<OctoprintPrinterData>§event_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§
Source§impl RemoteCommandEvent
impl RemoteCommandEvent
pub fn new( octoprint_environment: OctoprintEnvironment, octoprint_printer_data: OctoprintPrinterData, print_nanny_plugin_version: String, print_nanny_client_version: String, octoprint_version: String, octoprint_device: i32, ) -> RemoteCommandEvent
Trait Implementations§
Source§impl Clone for RemoteCommandEvent
impl Clone for RemoteCommandEvent
Source§fn clone(&self) -> RemoteCommandEvent
fn clone(&self) -> RemoteCommandEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteCommandEvent
impl Debug for RemoteCommandEvent
Source§impl Default for RemoteCommandEvent
impl Default for RemoteCommandEvent
Source§fn default() -> RemoteCommandEvent
fn default() -> RemoteCommandEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteCommandEvent
impl<'de> Deserialize<'de> for RemoteCommandEvent
Source§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
Source§impl PartialEq for RemoteCommandEvent
impl PartialEq for RemoteCommandEvent
Source§impl Serialize for RemoteCommandEvent
impl Serialize for RemoteCommandEvent
impl StructuralPartialEq for RemoteCommandEvent
Auto Trait Implementations§
impl Freeze for RemoteCommandEvent
impl RefUnwindSafe for RemoteCommandEvent
impl Send for RemoteCommandEvent
impl Sync for RemoteCommandEvent
impl Unpin for RemoteCommandEvent
impl UnwindSafe for RemoteCommandEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more