pub struct AdditionalInfo {
pub additional_id_token: String,
pub type: String,
pub custom_data: Option<CustomData>,
}Expand description
Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
Fields§
§additional_id_token: String(2.1) This field specifies the additional IdToken.
type: StringadditionalInfo can be used to send extra information to CSMS in addition to the regular authorization with IdToken. AdditionalInfo contains one or more custom types, which need to be agreed upon by all parties involved. When the type is not supported, the CSMS/Charging Station MAY ignore the additionalInfo.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for AdditionalInfo
impl Clone for AdditionalInfo
Source§impl Debug for AdditionalInfo
impl Debug for AdditionalInfo
Source§impl<'de> Deserialize<'de> for AdditionalInfo
impl<'de> Deserialize<'de> for AdditionalInfo
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 AdditionalInfo
impl PartialEq for AdditionalInfo
Source§impl Serialize for AdditionalInfo
impl Serialize for AdditionalInfo
impl StructuralPartialEq for AdditionalInfo
Auto Trait Implementations§
impl Freeze for AdditionalInfo
impl RefUnwindSafe for AdditionalInfo
impl Send for AdditionalInfo
impl Sync for AdditionalInfo
impl Unpin for AdditionalInfo
impl UnsafeUnpin for AdditionalInfo
impl UnwindSafe for AdditionalInfo
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