pub struct Deposit {
pub address: String,
pub amount: f64,
pub currency: String,
pub state: String,
pub received_timestamp: u64,
pub transaction_id: Option<String>,
pub updated_timestamp: Option<u64>,
}Expand description
Deposit information
Fields§
§address: StringDeposit address
amount: f64Deposit amount
currency: StringCurrency of the deposit
state: StringCurrent state of the deposit
received_timestamp: u64Timestamp when deposit was received
transaction_id: Option<String>Transaction ID on the blockchain
updated_timestamp: Option<u64>Timestamp when deposit was last updated
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Deposit
impl<'de> Deserialize<'de> for Deposit
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 Deposit
impl RefUnwindSafe for Deposit
impl Send for Deposit
impl Sync for Deposit
impl Unpin for Deposit
impl UnwindSafe for Deposit
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