pub struct DepositRecord {Show 19 fields
pub id: String,
pub coin: String,
pub chain: String,
pub amount: Decimal,
pub tx_id: Option<String>,
pub status: DepositStatus,
pub to_address: String,
pub tag: Option<String>,
pub deposit_fee: Decimal,
pub success_at: Option<Timestamp>,
pub confirmations: String,
pub tx_index: String,
pub block_hash: String,
pub batch_release_limit: String,
pub deposit_type: i64,
pub from_address: Option<String>,
pub tax_deposit_records_id: Option<String>,
pub tax_status: Option<i64>,
pub travel_rule_status: Option<i64>,
}Expand description
Part of the response of /v5/asset/deposit/query-record.
Fields§
§id: StringUnique ID.
coin: StringCoin.
chain: StringChain.
amount: DecimalAmount.
tx_id: Option<String>Transaction id (hash) on the chain.
status: DepositStatusDeposit status.
to_address: StringDeposit target address.
tag: Option<String>Tag of deposit target address.
deposit_fee: DecimalDeposit fee.
success_at: Option<Timestamp>Deposit’s success time.
confirmations: StringNumber of confirmation blocks.
tx_index: StringTransaction sequence number.
block_hash: StringHash number on the chain.
batch_release_limit: StringDaily deposit ceiling. “-1” means unlimited
deposit_type: i640: normal, 10: limit reached, 20: flagged by AML, 50: blocked
from_address: Option<String>From address of deposit, only shown when the deposit comes from on-chain and from address is unique, otherwise gives “”.
tax_deposit_records_id: Option<String>This field is used for tax purposes by Bybit EU (Austria) users, declare tax id.
tax_status: Option<i64>0: no tax reporting, 1: pending, 2: completed
travel_rule_status: Option<i64>0: approved, 1: info needed, 2: pending, 3: rejected
Trait Implementations§
Source§impl Debug for DepositRecord
impl Debug for DepositRecord
Source§impl<'de> Deserialize<'de> for DepositRecord
impl<'de> Deserialize<'de> for DepositRecord
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 DepositRecord
impl PartialEq for DepositRecord
impl StructuralPartialEq for DepositRecord
Auto Trait Implementations§
impl Freeze for DepositRecord
impl RefUnwindSafe for DepositRecord
impl Send for DepositRecord
impl Sync for DepositRecord
impl Unpin for DepositRecord
impl UnsafeUnpin for DepositRecord
impl UnwindSafe for DepositRecord
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