Struct aws_sdk_docdb::model::Certificate
source · [−]#[non_exhaustive]pub struct Certificate { /* private fields */ }Expand description
A certificate authority (CA) certificate for an Amazon Web Services account.
Implementations
sourceimpl Certificate
impl Certificate
sourcepub fn certificate_identifier(&self) -> Option<&str>
pub fn certificate_identifier(&self) -> Option<&str>
The unique key that identifies a certificate.
Example: rds-ca-2019
sourcepub fn certificate_type(&self) -> Option<&str>
pub fn certificate_type(&self) -> Option<&str>
The type of the certificate.
Example: CA
sourcepub fn thumbprint(&self) -> Option<&str>
pub fn thumbprint(&self) -> Option<&str>
The thumbprint of the certificate.
sourcepub fn valid_from(&self) -> Option<&DateTime>
pub fn valid_from(&self) -> Option<&DateTime>
The starting date-time from which the certificate is valid.
Example: 2019-07-31T17:57:09Z
sourcepub fn valid_till(&self) -> Option<&DateTime>
pub fn valid_till(&self) -> Option<&DateTime>
The date-time after which the certificate is no longer valid.
Example: 2024-07-31T17:57:09Z
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the certificate.
Example: arn:aws:rds:us-east-1::cert:rds-ca-2019
sourceimpl Certificate
impl Certificate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Certificate.
Trait Implementations
sourceimpl Clone for Certificate
impl Clone for Certificate
sourcefn clone(&self) -> Certificate
fn clone(&self) -> Certificate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Certificate
impl Debug for Certificate
sourceimpl PartialEq<Certificate> for Certificate
impl PartialEq<Certificate> for Certificate
sourcefn eq(&self, other: &Certificate) -> bool
fn eq(&self, other: &Certificate) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for Certificate
Auto Trait Implementations
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more