#[non_exhaustive]pub struct CertificateResponse {
pub csr_id: Uuid,
pub certificate_subject: Option<String>,
pub certificate_issuer: Option<String>,
pub certificate_serial_number: Option<String>,
pub certificate_valid_from: DateTime<Utc>,
pub certificate_valid_to: DateTime<Utc>,
pub certificate_pem: String,
pub chain_pem: Option<String>,
pub certificate_public_key_algorithm: Option<String>,
pub certificate_signature_algorithm: Option<String>,
}Expand description
Certificate information.
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.csr_id: UuidCSR ID that generated this certificate.
certificate_subject: Option<String>Certificate subject DN.
certificate_issuer: Option<String>Certificate issuer DN.
certificate_serial_number: Option<String>Serial number.
certificate_valid_from: DateTime<Utc>Validity start.
certificate_valid_to: DateTime<Utc>Validity end.
certificate_pem: StringPEM-encoded certificate.
chain_pem: Option<String>PEM-encoded certificate chain.
certificate_public_key_algorithm: Option<String>Public key algorithm.
certificate_signature_algorithm: Option<String>Signature algorithm.
Trait Implementations§
Source§impl Clone for CertificateResponse
impl Clone for CertificateResponse
Source§fn clone(&self) -> CertificateResponse
fn clone(&self) -> CertificateResponse
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 CertificateResponse
impl Debug for CertificateResponse
Source§impl<'de> Deserialize<'de> for CertificateResponse
impl<'de> Deserialize<'de> for CertificateResponse
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
Auto Trait Implementations§
impl Freeze for CertificateResponse
impl RefUnwindSafe for CertificateResponse
impl Send for CertificateResponse
impl Sync for CertificateResponse
impl Unpin for CertificateResponse
impl UnsafeUnpin for CertificateResponse
impl UnwindSafe for CertificateResponse
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