pub struct CoinNetwork {Show 14 fields
pub network: String,
pub coin: String,
pub name: String,
pub deposit_enable: bool,
pub withdraw_enable: bool,
pub is_default: bool,
pub min_confirm: u32,
pub un_lock_confirm: u32,
pub withdraw_fee: Decimal,
pub withdraw_min: Decimal,
pub withdraw_max: Decimal,
pub deposit_dust: Option<Decimal>,
pub special_tips: Option<String>,
pub same_address: bool,
}Fields§
§network: String§coin: String§name: String§deposit_enable: bool§withdraw_enable: bool§is_default: bool§min_confirm: u32§un_lock_confirm: u32§withdraw_fee: Decimal§withdraw_min: Decimal§withdraw_max: Decimal§deposit_dust: Option<Decimal>§special_tips: Option<String>§same_address: boolTrait Implementations§
Source§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
Source§impl PartialEq for CoinNetwork
impl PartialEq for CoinNetwork
Source§fn eq(&self, other: &CoinNetwork) -> bool
fn eq(&self, other: &CoinNetwork) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CoinNetwork
Auto Trait Implementations§
impl Freeze for CoinNetwork
impl RefUnwindSafe for CoinNetwork
impl Send for CoinNetwork
impl Sync for CoinNetwork
impl Unpin for CoinNetwork
impl UnsafeUnpin 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