pub struct CoinNetwork {Show 20 fields
pub address_regex: Option<String>,
pub coin: String,
pub deposit_desc: Option<String>,
pub deposit_enable: bool,
pub is_default: bool,
pub memo_regex: Option<String>,
pub min_confirm: u32,
pub name: String,
pub network: String,
pub special_tips: Option<String>,
pub un_lock_confirm: Option<u32>,
pub withdraw_desc: Option<String>,
pub withdraw_enable: bool,
pub withdraw_fee: f64,
pub withdraw_integer_multiple: Option<f64>,
pub withdraw_max: f64,
pub withdraw_min: f64,
pub same_address: Option<bool>,
pub estimated_arrival_time: Option<u64>,
pub busy: Option<bool>,
}Expand description
Coin network information.
Fields§
§address_regex: Option<String>Address regex pattern.
coin: StringCoin name.
deposit_desc: Option<String>Deposit description.
deposit_enable: boolWhether deposits are enabled.
is_default: boolWhether this is the default network.
memo_regex: Option<String>Memo regex pattern.
min_confirm: u32Minimum confirmations for deposit.
name: StringNetwork name.
network: StringNetwork identifier.
special_tips: Option<String>Whether special tips are available.
un_lock_confirm: Option<u32>Unlock confirmations required.
withdraw_desc: Option<String>Withdraw description.
withdraw_enable: boolWhether withdrawals are enabled.
withdraw_fee: f64Withdrawal fee.
withdraw_integer_multiple: Option<f64>Withdrawal integer multiple.
withdraw_max: f64Maximum withdrawal amount.
withdraw_min: f64Minimum withdrawal amount.
same_address: Option<bool>Whether same address is supported.
estimated_arrival_time: Option<u64>Estimated arrival time.
busy: Option<bool>Whether the network is busy.
Trait Implementations§
Source§impl Clone for CoinNetwork
impl Clone for CoinNetwork
Source§fn clone(&self) -> CoinNetwork
fn clone(&self) -> CoinNetwork
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 CoinNetwork
impl Debug for CoinNetwork
Source§impl<'de> Deserialize<'de> for CoinNetwork
impl<'de> Deserialize<'de> for CoinNetwork
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 CoinNetwork
impl RefUnwindSafe for CoinNetwork
impl Send for CoinNetwork
impl Sync for CoinNetwork
impl Unpin for CoinNetwork
impl UnwindSafe for CoinNetwork
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