pub struct TransactionEventResponse {
pub total_cost: Option<f32>,
pub charging_priority: Option<i32>,
pub id_token_info: Option<IdTokenInfoType>,
pub updated_personal_message: Option<MessageContentType>,
}
Expand description
This contains the field definition of the TransactionEventResponse PDU sent by the CSMS to the Charging Station in response to a TransactionEventRequest.
Fields§
§total_cost: Option<f32>
§charging_priority: Option<i32>
§id_token_info: Option<IdTokenInfoType>
§updated_personal_message: Option<MessageContentType>
Trait Implementations§
source§impl Clone for TransactionEventResponse
impl Clone for TransactionEventResponse
source§fn clone(&self) -> TransactionEventResponse
fn clone(&self) -> TransactionEventResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransactionEventResponse
impl Debug for TransactionEventResponse
source§impl Default for TransactionEventResponse
impl Default for TransactionEventResponse
source§fn default() -> TransactionEventResponse
fn default() -> TransactionEventResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransactionEventResponse
impl<'de> Deserialize<'de> for TransactionEventResponse
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 TransactionEventResponse
impl PartialEq for TransactionEventResponse
source§fn eq(&self, other: &TransactionEventResponse) -> bool
fn eq(&self, other: &TransactionEventResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionEventResponse
impl Serialize for TransactionEventResponse
impl StructuralPartialEq for TransactionEventResponse
Auto Trait Implementations§
impl Freeze for TransactionEventResponse
impl RefUnwindSafe for TransactionEventResponse
impl Send for TransactionEventResponse
impl Sync for TransactionEventResponse
impl Unpin for TransactionEventResponse
impl UnwindSafe for TransactionEventResponse
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