Struct RegisterThingReq
pub(super) struct RegisterThingReq {
pub(super) ownership_token: String,
pub(super) parameters: HashMap<String, String>,
}Expand description
This struct represents the request payload for the operation to register a
new IoT device. The ownership_token field contains the certificate
ownership token that will be used to associate the device with the
certificate. The parameters field contains a map of additional parameters
that will be used to configure the device.
Fields§
§ownership_token: String§parameters: HashMap<String, String>Trait Implementations§
§impl Clone for RegisterThingReq
impl Clone for RegisterThingReq
§fn clone(&self) -> RegisterThingReq
fn clone(&self) -> RegisterThingReq
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 more§impl Debug for RegisterThingReq
impl Debug for RegisterThingReq
§impl<'de> Deserialize<'de> for RegisterThingReq
impl<'de> Deserialize<'de> for RegisterThingReq
§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
§impl Serialize for RegisterThingReq
impl Serialize for RegisterThingReq
Auto Trait Implementations§
impl Freeze for RegisterThingReq
impl RefUnwindSafe for RegisterThingReq
impl Send for RegisterThingReq
impl Sync for RegisterThingReq
impl Unpin for RegisterThingReq
impl UnwindSafe for RegisterThingReq
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