pub struct CertificateDetails {
pub valid_at: u64,
pub expires_at: u64,
pub content: Option<String>,
}Expand description
Details about a certificate.
Fields§
§valid_at: u64The Unix timestamp (in seconds) of when the certificate becomes valid.
expires_at: u64The Unix timestamp (in seconds) of when the certificate expires.
content: Option<String>The content of the certificate in PEM format.
Only included when requested via the include[]=content query parameter.
Trait Implementations§
Source§impl Clone for CertificateDetails
impl Clone for CertificateDetails
Source§fn clone(&self) -> CertificateDetails
fn clone(&self) -> CertificateDetails
Returns a duplicate 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<'de> Deserialize<'de> for CertificateDetails
impl<'de> Deserialize<'de> for CertificateDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CertificateDetails
impl PartialEq for CertificateDetails
Source§impl Serialize for CertificateDetails
impl Serialize for CertificateDetails
impl StructuralPartialEq for CertificateDetails
Auto Trait Implementations§
impl Freeze for CertificateDetails
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