pub struct TransactionEventRequest {Show 13 fields
pub custom_data: Option<CustomData>,
pub event_type: TransactionEventEnum,
pub meter_value: Option<Vec<MeterValue>>,
pub timestamp: DateTime,
pub trigger_reason: TriggerReasonEnum,
pub seq_no: i64,
pub offline: Option<bool>,
pub number_of_phases_used: Option<i64>,
pub cable_max_current: Option<i64>,
pub reservation_id: Option<i64>,
pub transaction_info: Transaction,
pub evse: Option<EVSE>,
pub id_token: Option<IdToken>,
}Fields§
§custom_data: Option<CustomData>§event_type: TransactionEventEnum§meter_value: Option<Vec<MeterValue>>§timestamp: DateTimeThe date and time at which this transaction event occurred.
trigger_reason: TriggerReasonEnum§seq_no: i64Incremental sequence number, helps with determining if all messages of a transaction have been received.
offline: Option<bool>Indication that this transaction event happened when the Charging Station was offline. Default = false, meaning: the event occurred when the Charging Station was online.
number_of_phases_used: Option<i64>If the Charging Station is able to report the number of phases used, then it SHALL provide it. When omitted the CSMS may be able to determine the number of phases used via device management.
cable_max_current: Option<i64>The maximum current of the connected cable in Ampere (A).
reservation_id: Option<i64>This contains the Id of the reservation that terminates as a result of this transaction.
transaction_info: Transaction§evse: Option<EVSE>§id_token: Option<IdToken>Trait Implementations§
Source§impl Clone for TransactionEventRequest
impl Clone for TransactionEventRequest
Source§impl Debug for TransactionEventRequest
impl Debug for TransactionEventRequest
Source§impl<'de> Deserialize<'de> for TransactionEventRequest
impl<'de> Deserialize<'de> for TransactionEventRequest
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 TransactionEventRequest
impl PartialEq for TransactionEventRequest
Source§impl Request for TransactionEventRequest
impl Request for TransactionEventRequest
Source§impl Serialize for TransactionEventRequest
impl Serialize for TransactionEventRequest
impl StructuralPartialEq for TransactionEventRequest
Auto Trait Implementations§
impl Freeze for TransactionEventRequest
impl RefUnwindSafe for TransactionEventRequest
impl Send for TransactionEventRequest
impl Sync for TransactionEventRequest
impl Unpin for TransactionEventRequest
impl UnsafeUnpin for TransactionEventRequest
impl UnwindSafe for TransactionEventRequest
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