pub struct TransactionEventResponse {
pub custom_data: Option<CustomData>,
pub total_cost: Option<f64>,
pub charging_priority: Option<i64>,
pub id_token_info: Option<IdTokenInfo>,
pub updated_personal_message: Option<MessageContent>,
}Fields§
§custom_data: Option<CustomData>§total_cost: Option<f64>SHALL only be sent when charging has ended. Final total cost of this transaction, including taxes. In the currency configured with the Configuration Variable: <<configkey-currency,Currency>>. When omitted, the transaction was NOT free. To indicate a free transaction, the CSMS SHALL send 0.00.
charging_priority: Option<i64>Priority from a business point of view. Default priority is 0, The range is from -9 to 9. Higher values indicate a higher priority. The chargingPriority in <<transactioneventresponse,TransactionEventResponse>> is temporarily, so it may not be set in the <<cmn_idtokeninfotype,IdTokenInfoType>> afterwards. Also the chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules the one in <<cmn_idtokeninfotype,IdTokenInfoType>>.
id_token_info: Option<IdTokenInfo>§updated_personal_message: Option<MessageContent>Trait Implementations§
Source§impl Clone for TransactionEventResponse
impl Clone for TransactionEventResponse
Source§impl Debug for TransactionEventResponse
impl Debug for TransactionEventResponse
Source§impl Default for TransactionEventResponse
impl Default for TransactionEventResponse
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§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 UnsafeUnpin 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