pub struct SpendTransaction {Show 26 fields
pub amount: i64,
pub currency: String,
pub local_amount: Option<i64>,
pub local_currency: Option<String>,
pub authorized_amount: Option<i64>,
pub authorization_method: Option<String>,
pub memo: Option<String>,
pub receipt: bool,
pub merchant_name: String,
pub merchant_category: String,
pub merchant_category_code: String,
pub merchant_id: Option<String>,
pub enriched_merchant_icon: Option<String>,
pub enriched_merchant_name: Option<String>,
pub enriched_merchant_category: Option<String>,
pub card_id: Uuid,
pub card_type: CardType,
pub company_id: Option<Uuid>,
pub user_id: Uuid,
pub user_first_name: String,
pub user_last_name: Option<String>,
pub user_email: String,
pub status: SpendTransactionStatus,
pub declined_reason: Option<String>,
pub authorized_at: String,
pub posted_at: Option<String>,
}Expand description
Spend transaction details
Fields§
§amount: i64§currency: String§local_amount: Option<i64>§local_currency: Option<String>§memo: Option<String>§receipt: bool§merchant_name: String§merchant_category: String§merchant_category_code: String§merchant_id: Option<String>§enriched_merchant_icon: Option<String>§enriched_merchant_name: Option<String>§enriched_merchant_category: Option<String>§card_id: Uuid§card_type: CardType§company_id: Option<Uuid>§user_id: Uuid§user_first_name: String§user_last_name: Option<String>§user_email: String§status: SpendTransactionStatus§declined_reason: Option<String>§posted_at: Option<String>Trait Implementations§
Source§impl Clone for SpendTransaction
impl Clone for SpendTransaction
Source§fn clone(&self) -> SpendTransaction
fn clone(&self) -> SpendTransaction
Returns a duplicate 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 SpendTransaction
impl Debug for SpendTransaction
Source§impl<'de> Deserialize<'de> for SpendTransaction
impl<'de> Deserialize<'de> for SpendTransaction
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 SpendTransaction
impl RefUnwindSafe for SpendTransaction
impl Send for SpendTransaction
impl Sync for SpendTransaction
impl Unpin for SpendTransaction
impl UnwindSafe for SpendTransaction
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