pub struct CustomerInformationRequest {
pub request_id: i64,
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: i64
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
sourceimpl Clone for CustomerInformationRequest
impl Clone for CustomerInformationRequest
sourcefn clone(&self) -> CustomerInformationRequest
fn clone(&self) -> CustomerInformationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CustomerInformationRequest
impl Debug for CustomerInformationRequest
sourceimpl<'de> Deserialize<'de> for CustomerInformationRequest
impl<'de> Deserialize<'de> for CustomerInformationRequest
sourcefn 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
sourceimpl PartialEq<CustomerInformationRequest> for CustomerInformationRequest
impl PartialEq<CustomerInformationRequest> for CustomerInformationRequest
sourcefn eq(&self, other: &CustomerInformationRequest) -> bool
fn eq(&self, other: &CustomerInformationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomerInformationRequest) -> bool
fn ne(&self, other: &CustomerInformationRequest) -> bool
This method tests for !=
.
sourceimpl Validate for CustomerInformationRequest
impl Validate for CustomerInformationRequest
fn validate(&self) -> Result<(), ValidationErrors>
sourceimpl<'v_a> ValidateArgs<'v_a> for CustomerInformationRequest
impl<'v_a> ValidateArgs<'v_a> for CustomerInformationRequest
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for CustomerInformationRequest
Auto Trait Implementations
impl RefUnwindSafe for CustomerInformationRequest
impl Send for CustomerInformationRequest
impl Sync for CustomerInformationRequest
impl Unpin for CustomerInformationRequest
impl UnwindSafe for CustomerInformationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more