Struct AssetNetwork
pub struct AssetNetwork {
pub exchange: Exchange,
pub asset: String,
pub network: Network,
pub provider_id: String,
pub deposit_enabled: bool,
pub withdrawal_enabled: bool,
pub withdrawal_fee: Option<WithdrawalFee>,
pub minimum_withdrawal: Option<Decimal>,
pub maximum_withdrawal: Option<Decimal>,
pub memo_required: bool,
}Expand description
One asset’s transfer rules on one exchange network.
Fields§
§exchange: ExchangeExchange that published the rules.
asset: StringAsset symbol, uppercase.
network: NetworkCanonical network.
provider_id: StringProvider’s exact network identifier.
deposit_enabled: boolWhether the exchange currently accepts deposits.
withdrawal_enabled: boolWhether the exchange currently accepts withdrawals.
withdrawal_fee: Option<WithdrawalFee>Withdrawal fee, when published.
minimum_withdrawal: Option<Decimal>Minimum withdrawal amount, when published.
maximum_withdrawal: Option<Decimal>Maximum withdrawal amount, when published.
memo_required: boolWhether the destination requires a memo, tag, or secondary address.
Trait Implementations§
§impl Clone for AssetNetwork
impl Clone for AssetNetwork
§fn clone(&self) -> AssetNetwork
fn clone(&self) -> AssetNetwork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AssetNetwork
impl Debug for AssetNetwork
impl Eq for AssetNetwork
§impl PartialEq for AssetNetwork
impl PartialEq for AssetNetwork
impl StructuralPartialEq for AssetNetwork
Auto Trait Implementations§
impl Freeze for AssetNetwork
impl RefUnwindSafe for AssetNetwork
impl Send for AssetNetwork
impl Sync for AssetNetwork
impl Unpin for AssetNetwork
impl UnsafeUnpin for AssetNetwork
impl UnwindSafe for AssetNetwork
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.