pub struct PayloadCommandDevice {
pub id: String,
pub custom_data: Map<String, Value>,
}Expand description
Device target to execute.
Fields§
§id: StringDevice ID, as per the ID provided in SYNC.
custom_data: Map<String, Value>If the opaque customData object is provided in SYNC, it’s sent here.
Trait Implementations§
Source§impl Clone for PayloadCommandDevice
impl Clone for PayloadCommandDevice
Source§fn clone(&self) -> PayloadCommandDevice
fn clone(&self) -> PayloadCommandDevice
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 PayloadCommandDevice
impl Debug for PayloadCommandDevice
Source§impl<'de> Deserialize<'de> for PayloadCommandDevice
impl<'de> Deserialize<'de> for PayloadCommandDevice
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 PayloadCommandDevice
impl PartialEq for PayloadCommandDevice
Source§impl Serialize for PayloadCommandDevice
impl Serialize for PayloadCommandDevice
impl Eq for PayloadCommandDevice
impl StructuralPartialEq for PayloadCommandDevice
Auto Trait Implementations§
impl Freeze for PayloadCommandDevice
impl RefUnwindSafe for PayloadCommandDevice
impl Send for PayloadCommandDevice
impl Sync for PayloadCommandDevice
impl Unpin for PayloadCommandDevice
impl UnwindSafe for PayloadCommandDevice
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