Struct rust_ocpp::v2_0_1::messages::get_certificate_status::GetCertificateStatusResponse
source · [−]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: GetCertificateStatusEnumTypeThis 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
sourceimpl Clone for GetCertificateStatusResponse
impl Clone for GetCertificateStatusResponse
sourcefn clone(&self) -> GetCertificateStatusResponse
fn clone(&self) -> GetCertificateStatusResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetCertificateStatusResponse
impl Debug for GetCertificateStatusResponse
sourceimpl<'de> Deserialize<'de> for GetCertificateStatusResponse
impl<'de> Deserialize<'de> for GetCertificateStatusResponse
sourcefn 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
sourceimpl PartialEq<GetCertificateStatusResponse> for GetCertificateStatusResponse
impl PartialEq<GetCertificateStatusResponse> for GetCertificateStatusResponse
sourcefn eq(&self, other: &GetCertificateStatusResponse) -> bool
fn eq(&self, other: &GetCertificateStatusResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetCertificateStatusResponse) -> bool
fn ne(&self, other: &GetCertificateStatusResponse) -> bool
This method tests for !=.
impl StructuralPartialEq for GetCertificateStatusResponse
Auto Trait Implementations
impl RefUnwindSafe for GetCertificateStatusResponse
impl Send for GetCertificateStatusResponse
impl Sync for GetCertificateStatusResponse
impl Unpin for GetCertificateStatusResponse
impl UnwindSafe for GetCertificateStatusResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more