pub struct Transaction {Show 13 fields
pub id: Uuid,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub type: String,
pub resource: String,
pub resource_path: String,
pub status: String,
pub amount: Balance,
pub native_amount: Balance,
pub instant_exchange: bool,
pub network: Option<Network>,
pub from: Option<From>,
pub details: TransactionDetails,
}Fields§
§id: Uuid§created_at: Option<DateTime>§updated_at: Option<DateTime>§type: String§resource: String§resource_path: String§status: String§amount: Balance§native_amount: Balance§instant_exchange: bool§network: Option<Network>§from: Option<From>§details: TransactionDetailsTrait Implementations§
Source§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