Struct aws_sdk_iot::types::SecurityProfileTargetMapping
source · #[non_exhaustive]pub struct SecurityProfileTargetMapping {
pub security_profile_identifier: Option<SecurityProfileIdentifier>,
pub target: Option<SecurityProfileTarget>,
}
Expand description
Information about a security profile and the target associated with it.
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.security_profile_identifier: Option<SecurityProfileIdentifier>
Information that identifies the security profile.
target: Option<SecurityProfileTarget>
Information about the target (thing group) associated with the security profile.
Implementations§
source§impl SecurityProfileTargetMapping
impl SecurityProfileTargetMapping
sourcepub fn security_profile_identifier(&self) -> Option<&SecurityProfileIdentifier>
pub fn security_profile_identifier(&self) -> Option<&SecurityProfileIdentifier>
Information that identifies the security profile.
sourcepub fn target(&self) -> Option<&SecurityProfileTarget>
pub fn target(&self) -> Option<&SecurityProfileTarget>
Information about the target (thing group) associated with the security profile.
source§impl SecurityProfileTargetMapping
impl SecurityProfileTargetMapping
sourcepub fn builder() -> SecurityProfileTargetMappingBuilder
pub fn builder() -> SecurityProfileTargetMappingBuilder
Creates a new builder-style object to manufacture SecurityProfileTargetMapping
.
Trait Implementations§
source§impl Clone for SecurityProfileTargetMapping
impl Clone for SecurityProfileTargetMapping
source§fn clone(&self) -> SecurityProfileTargetMapping
fn clone(&self) -> SecurityProfileTargetMapping
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 SecurityProfileTargetMapping
impl Debug for SecurityProfileTargetMapping
source§impl PartialEq for SecurityProfileTargetMapping
impl PartialEq for SecurityProfileTargetMapping
source§fn eq(&self, other: &SecurityProfileTargetMapping) -> bool
fn eq(&self, other: &SecurityProfileTargetMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityProfileTargetMapping
Auto Trait Implementations§
impl Freeze for SecurityProfileTargetMapping
impl RefUnwindSafe for SecurityProfileTargetMapping
impl Send for SecurityProfileTargetMapping
impl Sync for SecurityProfileTargetMapping
impl Unpin for SecurityProfileTargetMapping
impl UnwindSafe for SecurityProfileTargetMapping
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.