pub struct WithdrawRecord {Show 15 fields
pub tx_id: Option<String>,
pub coin: String,
pub chain: String,
pub amount: Decimal,
pub withdraw_fee: Decimal,
pub status: WithdrawStatus,
pub to_address: String,
pub tag: Option<String>,
pub create_time: Timestamp,
pub update_time: Timestamp,
pub withdraw_id: String,
pub withdraw_type: i64,
pub tax: Option<Decimal>,
pub tax_rate: Option<Decimal>,
pub tax_type: Option<String>,
}Expand description
Part of the response of /v5/asset/withdraw/query-record.
Fields§
§tx_id: Option<String>Empty if the withdrawal failed or was cancelled
coin: StringCoin.
chain: StringChain.
amount: DecimalAmount.
withdraw_fee: DecimalWithdraw fee.
status: WithdrawStatusWithdraw status.
to_address: StringDestination address. For internal transfers, this is the receiving Bybit UID
tag: Option<String>Tag.
create_time: TimestampWithdraw created timestamp (ms).
update_time: TimestampWithdraw updated timestamp (ms).
withdraw_id: StringWithdraw ID.
withdraw_type: i640: on chain, 1: off chain
tax: Option<Decimal>Tax amount. Applicable to specific users based on Tax Centre configuration. Default: “0”.
tax_rate: Option<Decimal>Tax rate. Applicable to specific users based on Tax Centre configuration. Default: “0”.
tax_type: Option<String>Tax type. Applicable to specific users based on Tax Centre configuration. Default: “”.
Trait Implementations§
Source§impl Debug for WithdrawRecord
impl Debug for WithdrawRecord
Source§impl<'de> Deserialize<'de> for WithdrawRecord
impl<'de> Deserialize<'de> for WithdrawRecord
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
Source§impl PartialEq for WithdrawRecord
impl PartialEq for WithdrawRecord
impl StructuralPartialEq for WithdrawRecord
Auto Trait Implementations§
impl Freeze for WithdrawRecord
impl RefUnwindSafe for WithdrawRecord
impl Send for WithdrawRecord
impl Sync for WithdrawRecord
impl Unpin for WithdrawRecord
impl UnsafeUnpin for WithdrawRecord
impl UnwindSafe for WithdrawRecord
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