pub struct InstallCertificateRequest {
pub certificate_type: InstallCertificateUseEnumType,
pub certificate: String,
}
Expand description
Used by the CSMS to request installation of a certificate on a Charging Station.
Fields§
§certificate_type: InstallCertificateUseEnumType
Indicates the certificate type that is sent.
certificate: String
A PEM encoded X.509 certificate.
Trait Implementations§
source§impl Clone for InstallCertificateRequest
impl Clone for InstallCertificateRequest
source§fn clone(&self) -> InstallCertificateRequest
fn clone(&self) -> InstallCertificateRequest
Returns a copy 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 InstallCertificateRequest
impl Debug for InstallCertificateRequest
source§impl Default for InstallCertificateRequest
impl Default for InstallCertificateRequest
source§fn default() -> InstallCertificateRequest
fn default() -> InstallCertificateRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstallCertificateRequest
impl<'de> Deserialize<'de> for InstallCertificateRequest
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<InstallCertificateRequest> for InstallCertificateRequest
impl PartialEq<InstallCertificateRequest> for InstallCertificateRequest
source§fn eq(&self, other: &InstallCertificateRequest) -> bool
fn eq(&self, other: &InstallCertificateRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.