Struct aws_sdk_iot::types::CertificateValidity
source · #[non_exhaustive]pub struct CertificateValidity {
pub not_before: Option<DateTime>,
pub not_after: Option<DateTime>,
}
Expand description
When the certificate is valid.
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.not_before: Option<DateTime>
The certificate is not valid before this date.
not_after: Option<DateTime>
The certificate is not valid after this date.
Implementations§
source§impl CertificateValidity
impl CertificateValidity
sourcepub fn builder() -> CertificateValidityBuilder
pub fn builder() -> CertificateValidityBuilder
Creates a new builder-style object to manufacture CertificateValidity
.
Trait Implementations§
source§impl Clone for CertificateValidity
impl Clone for CertificateValidity
source§fn clone(&self) -> CertificateValidity
fn clone(&self) -> CertificateValidity
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 CertificateValidity
impl Debug for CertificateValidity
source§impl PartialEq for CertificateValidity
impl PartialEq for CertificateValidity
source§fn eq(&self, other: &CertificateValidity) -> bool
fn eq(&self, other: &CertificateValidity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateValidity
Auto Trait Implementations§
impl RefUnwindSafe for CertificateValidity
impl Send for CertificateValidity
impl Sync for CertificateValidity
impl Unpin for CertificateValidity
impl UnwindSafe for CertificateValidity
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.