pub struct AttachThingPrincipalRequest {
pub principal: String,
pub thing_name: String,
}Expand description
The input for the AttachThingPrincipal operation.
Fields§
§principal: StringThe principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
thing_name: StringThe name of the thing.
Trait Implementations§
Source§impl Clone for AttachThingPrincipalRequest
impl Clone for AttachThingPrincipalRequest
Source§fn clone(&self) -> AttachThingPrincipalRequest
fn clone(&self) -> AttachThingPrincipalRequest
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 Debug for AttachThingPrincipalRequest
impl Debug for AttachThingPrincipalRequest
Source§impl Default for AttachThingPrincipalRequest
impl Default for AttachThingPrincipalRequest
Source§fn default() -> AttachThingPrincipalRequest
fn default() -> AttachThingPrincipalRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for AttachThingPrincipalRequest
Auto Trait Implementations§
impl Freeze for AttachThingPrincipalRequest
impl RefUnwindSafe for AttachThingPrincipalRequest
impl Send for AttachThingPrincipalRequest
impl Sync for AttachThingPrincipalRequest
impl Unpin for AttachThingPrincipalRequest
impl UnwindSafe for AttachThingPrincipalRequest
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