Struct aws_sdk_connect::types::SecurityKey
source · #[non_exhaustive]pub struct SecurityKey {
pub association_id: Option<String>,
pub key: Option<String>,
pub creation_time: Option<DateTime>,
}
Expand description
Configuration information of the security key.
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.association_id: Option<String>
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
key: Option<String>
The key of the security key.
creation_time: Option<DateTime>
When the security key was created.
Implementations§
source§impl SecurityKey
impl SecurityKey
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the security key was created.
source§impl SecurityKey
impl SecurityKey
sourcepub fn builder() -> SecurityKeyBuilder
pub fn builder() -> SecurityKeyBuilder
Creates a new builder-style object to manufacture SecurityKey
.
Trait Implementations§
source§impl Clone for SecurityKey
impl Clone for SecurityKey
source§fn clone(&self) -> SecurityKey
fn clone(&self) -> SecurityKey
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 SecurityKey
impl Debug for SecurityKey
source§impl PartialEq for SecurityKey
impl PartialEq for SecurityKey
source§fn eq(&self, other: &SecurityKey) -> bool
fn eq(&self, other: &SecurityKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityKey
Auto Trait Implementations§
impl RefUnwindSafe for SecurityKey
impl Send for SecurityKey
impl Sync for SecurityKey
impl Unpin for SecurityKey
impl UnwindSafe for SecurityKey
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.