pub struct RemoteControlCommand {
pub id: Option<i32>,
pub created_dt: Option<String>,
pub command: Option<RemoteControlCommandCommandEnum>,
pub user: i32,
pub device: i32,
pub received: Option<bool>,
pub success: Option<bool>,
pub iotcore_response: Option<HashMap<String, Value>>,
pub metadata: Option<HashMap<String, Value>>,
pub url: Option<String>,
pub octoprint_event_type: Option<String>,
}Fields§
§id: Option<i32>§created_dt: Option<String>§command: Option<RemoteControlCommandCommandEnum>§user: i32§device: i32§received: Option<bool>§success: Option<bool>§iotcore_response: Option<HashMap<String, Value>>§metadata: Option<HashMap<String, Value>>§url: Option<String>§octoprint_event_type: Option<String>Implementations§
Source§impl RemoteControlCommand
impl RemoteControlCommand
pub fn new(user: i32, device: i32) -> RemoteControlCommand
Trait Implementations§
Source§impl Clone for RemoteControlCommand
impl Clone for RemoteControlCommand
Source§fn clone(&self) -> RemoteControlCommand
fn clone(&self) -> RemoteControlCommand
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 RemoteControlCommand
impl Debug for RemoteControlCommand
Source§impl Default for RemoteControlCommand
impl Default for RemoteControlCommand
Source§fn default() -> RemoteControlCommand
fn default() -> RemoteControlCommand
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteControlCommand
impl<'de> Deserialize<'de> for RemoteControlCommand
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 RemoteControlCommand
impl PartialEq for RemoteControlCommand
Source§impl Serialize for RemoteControlCommand
impl Serialize for RemoteControlCommand
impl StructuralPartialEq for RemoteControlCommand
Auto Trait Implementations§
impl Freeze for RemoteControlCommand
impl RefUnwindSafe for RemoteControlCommand
impl Send for RemoteControlCommand
impl Sync for RemoteControlCommand
impl Unpin for RemoteControlCommand
impl UnwindSafe for RemoteControlCommand
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