Struct google_cloudiot1::SendCommandToDeviceRequest [−][src]
pub struct SendCommandToDeviceRequest {
pub binary_data: Option<String>,
pub subfolder: Option<String>,
}Request for SendCommandToDevice.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields
binary_data: Option<String>
The command data to send to the device.
subfolder: Option<String>
Optional subfolder for the command. If empty, the command will be delivered to the /devices/{device-id}/commands topic, otherwise it will be delivered to the /devices/{device-id}/commands/{subfolder} topic. Multi-level subfolders are allowed. This field must not have more than 256 characters, and must not contain any MQTT wildcards ("+" or "#") or null characters.
Trait Implementations
impl Default for SendCommandToDeviceRequest[src]
impl Default for SendCommandToDeviceRequestfn default() -> SendCommandToDeviceRequest[src]
fn default() -> SendCommandToDeviceRequestReturns the "default value" for a type. Read more
impl Clone for SendCommandToDeviceRequest[src]
impl Clone for SendCommandToDeviceRequestfn clone(&self) -> SendCommandToDeviceRequest[src]
fn clone(&self) -> SendCommandToDeviceRequestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for SendCommandToDeviceRequest[src]
impl Debug for SendCommandToDeviceRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RequestValue for SendCommandToDeviceRequest[src]
impl RequestValue for SendCommandToDeviceRequestAuto Trait Implementations
impl Send for SendCommandToDeviceRequest
impl Send for SendCommandToDeviceRequestimpl Sync for SendCommandToDeviceRequest
impl Sync for SendCommandToDeviceRequest