Skip to main content

DepositRecord

Struct DepositRecord 

Source
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: String

Unique ID.

§coin: String

Coin.

§chain: String

Chain.

§amount: Decimal

Amount.

§tx_id: Option<String>

Transaction id (hash) on the chain.

§status: DepositStatus

Deposit status.

§to_address: String

Deposit target address.

§tag: Option<String>

Tag of deposit target address.

§deposit_fee: Decimal

Deposit fee.

§success_at: Option<Timestamp>

Deposit’s success time.

§confirmations: String

Number of confirmation blocks.

§tx_index: String

Transaction sequence number.

§block_hash: String

Hash number on the chain.

§batch_release_limit: String

Daily deposit ceiling. “-1” means unlimited

§deposit_type: i64

0: 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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DepositRecord

Source§

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

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DepositRecord

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more