Skip to main content

CustomerInformationRequest

Struct CustomerInformationRequest 

Source
pub struct CustomerInformationRequest<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize = 16> {
    pub clear: bool,
    pub custom_data: Option<CustomData>,
    pub customer_certificate: Option<CertificateHashData>,
    pub customer_identifier: Option<String<64usize>>,
    pub id_token: Option<IdToken<ID_TOKEN_ADDITIONAL_INFO_CAP>>,
    pub report: bool,
    pub request_id: i64,
}

Fields§

§clear: bool

Flag indicating whether the Charging Station should clear all information about the customer referred to.

§custom_data: Option<CustomData>§customer_certificate: Option<CertificateHashData>§customer_identifier: Option<String<64usize>>

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<IdToken<ID_TOKEN_ADDITIONAL_INFO_CAP>>§report: bool

Flag indicating whether the Charging Station should return NotifyCustomerInformationRequest messages containing information about the customer referred to.

§request_id: i64

The Id of the request.

Trait Implementations§

Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Action for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Available on non-crate feature alloc only.
Source§

const ACTION: &'static str = "CustomerInformation"

Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Clone for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Source§

fn clone(&self) -> CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Debug for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Eq for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> PartialEq for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Source§

fn eq( &self, other: &CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>, ) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> StructuralPartialEq for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Auto Trait Implementations§

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Freeze for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> RefUnwindSafe for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Send for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Sync for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> Unpin for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> UnsafeUnpin for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

§

impl<const ID_TOKEN_ADDITIONAL_INFO_CAP: usize> UnwindSafe for CustomerInformationRequest<ID_TOKEN_ADDITIONAL_INFO_CAP>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.