pub struct AuthorizeRequest {
pub certificate: Option<String>,
pub id_token: IdTokenType,
pub iso_15118_certificate_hash_data: Option<Vec<OCSPRequestDataType>>,
}
Expand description
´AuthorizeRequest`, sent by the Charging Station to the CSMS.
Fields§
§certificate: Option<String>
The X.509 certificated presented by EV and encoded in PEM format.
id_token: IdTokenType
This contains the identifier that needs to be authorized.
iso_15118_certificate_hash_data: Option<Vec<OCSPRequestDataType>>
Contains the information needed to verify the EV Contract Certificate via OCSP.
Trait Implementations§
source§impl Clone for AuthorizeRequest
impl Clone for AuthorizeRequest
source§fn clone(&self) -> AuthorizeRequest
fn clone(&self) -> AuthorizeRequest
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 AuthorizeRequest
impl Debug for AuthorizeRequest
source§impl Default for AuthorizeRequest
impl Default for AuthorizeRequest
source§fn default() -> AuthorizeRequest
fn default() -> AuthorizeRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizeRequest
impl<'de> Deserialize<'de> for AuthorizeRequest
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<AuthorizeRequest> for AuthorizeRequest
impl PartialEq<AuthorizeRequest> for AuthorizeRequest
source§fn eq(&self, other: &AuthorizeRequest) -> bool
fn eq(&self, other: &AuthorizeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.