pub struct OcspSingleStatus {
pub cert_status: OcspCertStatus,
pub reason: Option<OcspRevokeReason>,
pub this_update: Option<String>,
pub next_update: Option<String>,
pub revocation_time: Option<String>,
}Expand description
Status of a single certificate, returned by OcspBasicResp::find_status.
Fields§
§cert_status: OcspCertStatusPer-certificate status.
reason: Option<OcspRevokeReason>Revocation reason code (RFC 5280 §5.3.1).
Set only when cert_status == Revoked and the responder included a
reason code; None when the reason was absent or the cert is not revoked.
this_update: Option<String>thisUpdate time as a human-readable UTC string, if present.
next_update: Option<String>nextUpdate time as a human-readable UTC string, if present.
revocation_time: Option<String>Revocation time as a human-readable UTC string (cert_status == Revoked only).
Trait Implementations§
Source§impl Clone for OcspSingleStatus
impl Clone for OcspSingleStatus
Source§fn clone(&self) -> OcspSingleStatus
fn clone(&self) -> OcspSingleStatus
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 moreAuto Trait Implementations§
impl Freeze for OcspSingleStatus
impl RefUnwindSafe for OcspSingleStatus
impl Send for OcspSingleStatus
impl Sync for OcspSingleStatus
impl Unpin for OcspSingleStatus
impl UnsafeUnpin for OcspSingleStatus
impl UnwindSafe for OcspSingleStatus
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