pub struct GetCertificateStatusResponse {
pub status: GetCertificateStatusEnumType,
pub ocsp_result: Option<String>,
pub status_info: Option<StatusInfoType>,
}
Expand description
GetCertificateStatusResponse, sent by the CSMS to the Charging Station.
Fields§
§status: GetCertificateStatusEnumType
This indicates whether the charging stationwas able to retrieve the OCSP certificate status.
ocsp_result: Option<String>
OCSPResponse class as defined in IETF RFC6960. DER encoded (as defined in IETF RFC 6960), andthen base64 encoded. MAY only be omitted when statusis not Accepted.
status_info: Option<StatusInfoType>
Detailed status information.
Trait Implementations§
Source§impl Clone for GetCertificateStatusResponse
impl Clone for GetCertificateStatusResponse
Source§fn clone(&self) -> GetCertificateStatusResponse
fn clone(&self) -> GetCertificateStatusResponse
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 GetCertificateStatusResponse
impl Debug for GetCertificateStatusResponse
Source§impl Default for GetCertificateStatusResponse
impl Default for GetCertificateStatusResponse
Source§fn default() -> GetCertificateStatusResponse
fn default() -> GetCertificateStatusResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCertificateStatusResponse
impl<'de> Deserialize<'de> for GetCertificateStatusResponse
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 GetCertificateStatusResponse
impl PartialEq for GetCertificateStatusResponse
Source§fn eq(&self, other: &GetCertificateStatusResponse) -> bool
fn eq(&self, other: &GetCertificateStatusResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetCertificateStatusResponse
Auto Trait Implementations§
impl Freeze for GetCertificateStatusResponse
impl RefUnwindSafe for GetCertificateStatusResponse
impl Send for GetCertificateStatusResponse
impl Sync for GetCertificateStatusResponse
impl Unpin for GetCertificateStatusResponse
impl UnwindSafe for GetCertificateStatusResponse
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