pub struct AssociateEntityToThingRequest {
pub entity_id: String,
pub namespace_version: Option<i64>,
pub thing_name: String,
}
Fields§
§entity_id: String
The ID of the device to be associated with the thing.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
namespace_version: Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
thing_name: String
The name of the thing to which the entity is to be associated.
Trait Implementations§
Source§impl Clone for AssociateEntityToThingRequest
impl Clone for AssociateEntityToThingRequest
Source§fn clone(&self) -> AssociateEntityToThingRequest
fn clone(&self) -> AssociateEntityToThingRequest
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 Default for AssociateEntityToThingRequest
impl Default for AssociateEntityToThingRequest
Source§fn default() -> AssociateEntityToThingRequest
fn default() -> AssociateEntityToThingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AssociateEntityToThingRequest
impl PartialEq for AssociateEntityToThingRequest
Source§fn eq(&self, other: &AssociateEntityToThingRequest) -> bool
fn eq(&self, other: &AssociateEntityToThingRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssociateEntityToThingRequest
Auto Trait Implementations§
impl Freeze for AssociateEntityToThingRequest
impl RefUnwindSafe for AssociateEntityToThingRequest
impl Send for AssociateEntityToThingRequest
impl Sync for AssociateEntityToThingRequest
impl Unpin for AssociateEntityToThingRequest
impl UnwindSafe for AssociateEntityToThingRequest
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