Struct aws_sdk_docdb::types::CertificateDetails
source · #[non_exhaustive]pub struct CertificateDetails {
pub ca_identifier: Option<String>,
pub valid_till: Option<DateTime>,
}
Expand description
Returns the details of the DB instance’s server certificate.
For more information, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.
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.ca_identifier: Option<String>
The CA identifier of the CA certificate used for the DB instance's server certificate.
valid_till: Option<DateTime>
The expiration date of the DB instance’s server certificate.
Implementations§
source§impl CertificateDetails
impl CertificateDetails
sourcepub fn ca_identifier(&self) -> Option<&str>
pub fn ca_identifier(&self) -> Option<&str>
The CA identifier of the CA certificate used for the DB instance's server certificate.
sourcepub fn valid_till(&self) -> Option<&DateTime>
pub fn valid_till(&self) -> Option<&DateTime>
The expiration date of the DB instance’s server certificate.
source§impl CertificateDetails
impl CertificateDetails
sourcepub fn builder() -> CertificateDetailsBuilder
pub fn builder() -> CertificateDetailsBuilder
Creates a new builder-style object to manufacture CertificateDetails
.
Trait Implementations§
source§impl Clone for CertificateDetails
impl Clone for CertificateDetails
source§fn clone(&self) -> CertificateDetails
fn clone(&self) -> CertificateDetails
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 CertificateDetails
impl Debug for CertificateDetails
source§impl PartialEq for CertificateDetails
impl PartialEq for CertificateDetails
source§fn eq(&self, other: &CertificateDetails) -> bool
fn eq(&self, other: &CertificateDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateDetails
Auto Trait Implementations§
impl RefUnwindSafe for CertificateDetails
impl Send for CertificateDetails
impl Sync for CertificateDetails
impl Unpin for CertificateDetails
impl UnwindSafe for CertificateDetails
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.