pub struct Transaction {Show 15 fields
pub id: String,
pub public_id: Option<String>,
pub network: Network,
pub created: DateTime,
pub status: TransactionStatus,
pub direction: TransactionDirection,
pub customer_id: Option<CustomerID>,
pub external_id: Option<ExternalID>,
pub amount: PositiveDecimal,
pub network_fee: Option<PositiveDecimal>,
pub crypto_currency: CryptoCurrencyCode,
pub fiat_payment: Option<FiatPayment>,
pub orchestration: Option<Value>,
pub fiat_payment_method: Option<PaymentMethod>,
pub breakdown: Option<Vec<TransactionBreakdownItem>>,
}Expand description
Transaction
Fields§
§id: StringTransaction ID
public_id: Option<String>Public ID (optional)
network: NetworkNetwork
created: DateTimeCreated timestamp
status: TransactionStatusStatus
direction: TransactionDirectionDirection
customer_id: Option<CustomerID>Customer ID (optional)
external_id: Option<ExternalID>External ID (optional)
amount: PositiveDecimalAmount
network_fee: Option<PositiveDecimal>Network fee (optional)
crypto_currency: CryptoCurrencyCodeCryptocurrency
fiat_payment: Option<FiatPayment>Fiat payment (optional)
orchestration: Option<Value>Orchestration (optional)
fiat_payment_method: Option<PaymentMethod>Fiat payment method (optional)
breakdown: Option<Vec<TransactionBreakdownItem>>Breakdown (optional)
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 · 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 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§
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