Struct aws_sdk_cloudfront::types::PublicKeySummary
source · #[non_exhaustive]pub struct PublicKeySummary {
pub id: String,
pub name: String,
pub created_time: DateTime,
pub encoded_key: String,
pub comment: Option<String>,
}
Expand description
Contains information about a public 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.id: String
The identifier of the public key.
name: String
A name to help identify the public key.
created_time: DateTime
The date and time when the public key was uploaded.
encoded_key: String
The public key.
comment: Option<String>
A comment to describe the public key. The comment cannot be longer than 128 characters.
Implementations§
source§impl PublicKeySummary
impl PublicKeySummary
sourcepub fn created_time(&self) -> &DateTime
pub fn created_time(&self) -> &DateTime
The date and time when the public key was uploaded.
sourcepub fn encoded_key(&self) -> &str
pub fn encoded_key(&self) -> &str
The public key.
source§impl PublicKeySummary
impl PublicKeySummary
sourcepub fn builder() -> PublicKeySummaryBuilder
pub fn builder() -> PublicKeySummaryBuilder
Creates a new builder-style object to manufacture PublicKeySummary
.
Trait Implementations§
source§impl Clone for PublicKeySummary
impl Clone for PublicKeySummary
source§fn clone(&self) -> PublicKeySummary
fn clone(&self) -> PublicKeySummary
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 PublicKeySummary
impl Debug for PublicKeySummary
source§impl PartialEq for PublicKeySummary
impl PartialEq for PublicKeySummary
source§fn eq(&self, other: &PublicKeySummary) -> bool
fn eq(&self, other: &PublicKeySummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicKeySummary
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeySummary
impl Send for PublicKeySummary
impl Sync for PublicKeySummary
impl Unpin for PublicKeySummary
impl UnwindSafe for PublicKeySummary
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.