pub struct AuthorizeResponse {
pub id_token_info: IdTokenInfo,
pub certificate_status: Option<AuthorizeCertificateStatusEnum>,
pub allowed_energy_transfer: Option<Vec<EnergyTransferModeEnum>>,
pub tariff: Option<Tariff>,
pub custom_data: Option<CustomData>,
}Fields§
§id_token_info: IdTokenInfo§certificate_status: Option<AuthorizeCertificateStatusEnum>§allowed_energy_transfer: Option<Vec<EnergyTransferModeEnum>>(2.1) List of allowed energy transfer modes the EV can choose from. If omitted this defaults to charging only.
tariff: Option<Tariff>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for AuthorizeResponse
impl Clone for AuthorizeResponse
Source§impl Debug for AuthorizeResponse
impl Debug for AuthorizeResponse
Source§impl<'de> Deserialize<'de> for AuthorizeResponse
impl<'de> Deserialize<'de> for AuthorizeResponse
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 AuthorizeResponse
impl PartialEq for AuthorizeResponse
Source§impl Serialize for AuthorizeResponse
impl Serialize for AuthorizeResponse
impl StructuralPartialEq for AuthorizeResponse
Auto Trait Implementations§
impl Freeze for AuthorizeResponse
impl RefUnwindSafe for AuthorizeResponse
impl Send for AuthorizeResponse
impl Sync for AuthorizeResponse
impl Unpin for AuthorizeResponse
impl UnsafeUnpin for AuthorizeResponse
impl UnwindSafe for AuthorizeResponse
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