pub struct Transaction {Show 14 fields
pub id: String,
pub transaction_code: String,
pub amount: f64,
pub currency: String,
pub timestamp: String,
pub status: Option<String>,
pub payment_type: Option<String>,
pub installments_count: Option<i32>,
pub merchant_code: Option<String>,
pub vat_amount: Option<f64>,
pub tip_amount: Option<f64>,
pub entry_mode: Option<String>,
pub auth_code: Option<String>,
pub internal_id: Option<i64>,
}Fields§
§id: String§transaction_code: String§amount: f64§currency: String§timestamp: String§status: Option<String>§payment_type: Option<String>§installments_count: Option<i32>§merchant_code: Option<String>§vat_amount: Option<f64>§tip_amount: Option<f64>§entry_mode: Option<String>§auth_code: Option<String>§internal_id: Option<i64>Trait Implementations§
Source§impl Clone for Transaction
impl Clone for Transaction
Source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Transaction
impl Debug for Transaction
Source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
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
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)