pub struct WithdrawalRecord {Show 13 fields
pub address: String,
pub amount: f64,
pub apply_time: String,
pub coin: String,
pub id: String,
pub withdraw_order_id: Option<String>,
pub network: String,
pub transfer_type: u8,
pub status: u8,
pub transaction_fee: f64,
pub confirm_no: Option<u64>,
pub info: Option<String>,
pub tx_id: String,
}Fields§
§address: String§amount: f64§apply_time: String§coin: String§id: String§withdraw_order_id: Option<String>// will not be returned if there’s no withdrawOrderId for this withdraw.
network: String§transfer_type: u81 for internal transfer, 0 for external transfer
status: u8§transaction_fee: f64§confirm_no: Option<u64>// confirm times for withdraw
info: Option<String>§tx_id: StringTrait Implementations§
Source§impl Clone for WithdrawalRecord
impl Clone for WithdrawalRecord
Source§fn clone(&self) -> WithdrawalRecord
fn clone(&self) -> WithdrawalRecord
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 WithdrawalRecord
impl Debug for WithdrawalRecord
Source§impl Default for WithdrawalRecord
impl Default for WithdrawalRecord
Source§fn default() -> WithdrawalRecord
fn default() -> WithdrawalRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WithdrawalRecord
impl<'de> Deserialize<'de> for WithdrawalRecord
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 WithdrawalRecord
impl RefUnwindSafe for WithdrawalRecord
impl Send for WithdrawalRecord
impl Sync for WithdrawalRecord
impl Unpin for WithdrawalRecord
impl UnwindSafe for WithdrawalRecord
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