#[non_exhaustive]pub struct InvokeDeviceMethodInput {
pub device_id: Option<String>,
pub device_method: Option<DeviceMethod>,
pub device_method_parameters: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.device_id: Option<String>The unique identifier of the device.
device_method: Option<DeviceMethod>The device method to invoke.
device_method_parameters: Option<String>A JSON encoded string containing the device method request parameters.
Implementations§
source§impl InvokeDeviceMethodInput
impl InvokeDeviceMethodInput
sourcepub fn device_method(&self) -> Option<&DeviceMethod>
pub fn device_method(&self) -> Option<&DeviceMethod>
The device method to invoke.
sourcepub fn device_method_parameters(&self) -> Option<&str>
pub fn device_method_parameters(&self) -> Option<&str>
A JSON encoded string containing the device method request parameters.
source§impl InvokeDeviceMethodInput
impl InvokeDeviceMethodInput
sourcepub fn builder() -> InvokeDeviceMethodInputBuilder
pub fn builder() -> InvokeDeviceMethodInputBuilder
Creates a new builder-style object to manufacture InvokeDeviceMethodInput.
Trait Implementations§
source§impl Clone for InvokeDeviceMethodInput
impl Clone for InvokeDeviceMethodInput
source§fn clone(&self) -> InvokeDeviceMethodInput
fn clone(&self) -> InvokeDeviceMethodInput
Returns a copy 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 InvokeDeviceMethodInput
impl Debug for InvokeDeviceMethodInput
source§impl PartialEq<InvokeDeviceMethodInput> for InvokeDeviceMethodInput
impl PartialEq<InvokeDeviceMethodInput> for InvokeDeviceMethodInput
source§fn eq(&self, other: &InvokeDeviceMethodInput) -> bool
fn eq(&self, other: &InvokeDeviceMethodInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InvokeDeviceMethodInput
Auto Trait Implementations§
impl RefUnwindSafe for InvokeDeviceMethodInput
impl Send for InvokeDeviceMethodInput
impl Sync for InvokeDeviceMethodInput
impl Unpin for InvokeDeviceMethodInput
impl UnwindSafe for InvokeDeviceMethodInput
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