pub struct CustomerInformationRequest {
pub request_id: i32,
pub report: bool,
pub clear: bool,
pub customer_identifier: Option<String>,
pub id_token: Option<IdTokenType>,
pub customer_certificate: Option<CertificateHashDataType>,
}
Expand description
CustomerInformationRequest, sent by the CSMS to the Charging Station
Fields§
§request_id: i32
The Id of the request
report: bool
Flag indicating whether the Charging Station should return NotifyCustomerInformationRequest messages containing information about the customer referred to.
clear: bool
Flag indicating whether the Charging Station should clear all information about the customer referred to.
customer_identifier: Option<String>
A (e.g. vendor specific) identifier of the customer this request refers to. This field contains a custom identifier other than IdToken and Certificate. One of the possible identifiers (customerIdentifier, customerIdToken or customerCertificate) should be in the request message.
id_token: Option<IdTokenType>
The IdToken of the customer this request refers to. One of the possible identifiers (customerIdentifier, customerIdToken or customerCertificate) should be in the request message.
customer_certificate: Option<CertificateHashDataType>
The Certificate of the customer this request refers to. One of the possible identifiers (customerIdentifier, customerIdToken or customerCertificate) should be in the request message.
Trait Implementations§
source§impl Clone for CustomerInformationRequest
impl Clone for CustomerInformationRequest
source§fn clone(&self) -> CustomerInformationRequest
fn clone(&self) -> CustomerInformationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerInformationRequest
impl Debug for CustomerInformationRequest
source§impl Default for CustomerInformationRequest
impl Default for CustomerInformationRequest
source§fn default() -> CustomerInformationRequest
fn default() -> CustomerInformationRequest
source§impl<'de> Deserialize<'de> for CustomerInformationRequest
impl<'de> Deserialize<'de> for CustomerInformationRequest
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>,
source§impl PartialEq for CustomerInformationRequest
impl PartialEq for CustomerInformationRequest
source§fn eq(&self, other: &CustomerInformationRequest) -> bool
fn eq(&self, other: &CustomerInformationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.