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: i32The Id of the request
report: boolFlag indicating whether the Charging Station should return NotifyCustomerInformationRequest messages containing information about the customer referred to.
clear: boolFlag 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<'v_a> ValidateArgs<'v_a> for CustomerInformationRequest
impl<'v_a> ValidateArgs<'v_a> for CustomerInformationRequest
impl StructuralPartialEq for CustomerInformationRequest
Auto Trait Implementations§
impl Freeze for CustomerInformationRequest
impl RefUnwindSafe for CustomerInformationRequest
impl Send for CustomerInformationRequest
impl Sync for CustomerInformationRequest
impl Unpin for CustomerInformationRequest
impl UnwindSafe for CustomerInformationRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)