pub struct CurrencyResponse {Show 15 fields
pub name: String,
pub extra_id_name: String,
pub icon: String,
pub deposit: bool,
pub withdrawal: bool,
pub validation_regexp: ValidationRegexp,
pub contract_address: Option<String>,
pub code: String,
pub network: String,
pub has_extra_id: bool,
pub id: String,
pub popular: bool,
pub fiat: Option<bool>,
pub buy: Option<bool>,
pub network_name: Option<String>,
}
Fields§
§name: String
§extra_id_name: String
§icon: String
§deposit: bool
§withdrawal: bool
§validation_regexp: ValidationRegexp
§contract_address: Option<String>
§code: String
§network: String
§has_extra_id: bool
§id: String
§popular: bool
§fiat: Option<bool>
§buy: Option<bool>
§network_name: Option<String>
Trait Implementations§
Source§impl Clone for CurrencyResponse
impl Clone for CurrencyResponse
Source§fn clone(&self) -> CurrencyResponse
fn clone(&self) -> CurrencyResponse
Returns a copy 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 CurrencyResponse
impl Debug for CurrencyResponse
Source§impl<'de> Deserialize<'de> for CurrencyResponse
impl<'de> Deserialize<'de> for CurrencyResponse
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 CurrencyResponse
impl RefUnwindSafe for CurrencyResponse
impl Send for CurrencyResponse
impl Sync for CurrencyResponse
impl Unpin for CurrencyResponse
impl UnwindSafe for CurrencyResponse
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