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 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 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 for AuthorizeRequest
impl PartialEq for AuthorizeRequest
Source§impl Serialize for AuthorizeRequest
impl Serialize for AuthorizeRequest
Source§impl Validate for AuthorizeRequest
impl Validate for AuthorizeRequest
Source§impl<'v_a> ValidateArgs<'v_a> for AuthorizeRequest
impl<'v_a> ValidateArgs<'v_a> for AuthorizeRequest
impl StructuralPartialEq for AuthorizeRequest
Auto Trait Implementations§
impl Freeze for AuthorizeRequest
impl RefUnwindSafe for AuthorizeRequest
impl Send for AuthorizeRequest
impl Sync for AuthorizeRequest
impl Unpin for AuthorizeRequest
impl UnwindSafe for AuthorizeRequest
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