pub struct CoinChainInfo {
pub chain: String,
pub chain_type: String,
pub confirmation: String,
pub withdraw_fee: String,
pub deposit_min: String,
pub withdraw_min: String,
pub min_accuracy: String,
pub chain_deposit: String,
pub chain_withdraw: String,
pub withdraw_percentage_fee: String,
pub contract_address: String,
pub safe_confirm_number: String,
}Expand description
Chain information for a coin
Fields§
§chain: StringChain
chain_type: StringChain type
confirmation: StringNumber of confirmations for deposit
withdraw_fee: StringWithdraw fee. If empty, coin does not support withdrawal
deposit_min: StringMinimum deposit
withdraw_min: StringMinimum withdraw
min_accuracy: StringThe precision of withdraw or deposit
chain_deposit: StringThe chain status of deposit. 0: suspend. 1: normal
chain_withdraw: StringThe chain status of withdraw. 0: suspend. 1: normal
withdraw_percentage_fee: StringThe withdraw fee percentage. It is a real figure, e.g., 0.022 means 2.2%
contract_address: StringContract address. "" means no contract address
safe_confirm_number: StringNumber of security confirmations
Trait Implementations§
Source§impl Clone for CoinChainInfo
impl Clone for CoinChainInfo
Source§fn clone(&self) -> CoinChainInfo
fn clone(&self) -> CoinChainInfo
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 CoinChainInfo
impl Debug for CoinChainInfo
Source§impl<'de> Deserialize<'de> for CoinChainInfo
impl<'de> Deserialize<'de> for CoinChainInfo
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 CoinChainInfo
impl RefUnwindSafe for CoinChainInfo
impl Send for CoinChainInfo
impl Sync for CoinChainInfo
impl Unpin for CoinChainInfo
impl UnsafeUnpin for CoinChainInfo
impl UnwindSafe for CoinChainInfo
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