#[non_exhaustive]pub struct InvokeDeviceMethodOutput {
pub device_method_response: Option<String>,
/* private fields */
}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_method_response: Option<String>A JSON encoded string containing the device method response.
Implementations§
source§impl InvokeDeviceMethodOutput
impl InvokeDeviceMethodOutput
sourcepub fn device_method_response(&self) -> Option<&str>
pub fn device_method_response(&self) -> Option<&str>
A JSON encoded string containing the device method response.
source§impl InvokeDeviceMethodOutput
impl InvokeDeviceMethodOutput
sourcepub fn builder() -> InvokeDeviceMethodOutputBuilder
pub fn builder() -> InvokeDeviceMethodOutputBuilder
Creates a new builder-style object to manufacture InvokeDeviceMethodOutput.
Trait Implementations§
source§impl Clone for InvokeDeviceMethodOutput
impl Clone for InvokeDeviceMethodOutput
source§fn clone(&self) -> InvokeDeviceMethodOutput
fn clone(&self) -> InvokeDeviceMethodOutput
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 InvokeDeviceMethodOutput
impl Debug for InvokeDeviceMethodOutput
source§impl PartialEq<InvokeDeviceMethodOutput> for InvokeDeviceMethodOutput
impl PartialEq<InvokeDeviceMethodOutput> for InvokeDeviceMethodOutput
source§fn eq(&self, other: &InvokeDeviceMethodOutput) -> bool
fn eq(&self, other: &InvokeDeviceMethodOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for InvokeDeviceMethodOutput
impl RequestId for InvokeDeviceMethodOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for InvokeDeviceMethodOutput
Auto Trait Implementations§
impl RefUnwindSafe for InvokeDeviceMethodOutput
impl Send for InvokeDeviceMethodOutput
impl Sync for InvokeDeviceMethodOutput
impl Unpin for InvokeDeviceMethodOutput
impl UnwindSafe for InvokeDeviceMethodOutput
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