pub struct ExchangeCurrency {
pub code: String,
pub network: String,
pub amount: f64,
pub address: String,
pub extra_id: String,
pub transaction_hash: String,
pub contract_address: Option<String>,
}
Fields§
§code: String
§network: String
§amount: f64
§address: String
§extra_id: String
§transaction_hash: String
§contract_address: Option<String>
Trait Implementations§
Source§impl Clone for ExchangeCurrency
impl Clone for ExchangeCurrency
Source§fn clone(&self) -> ExchangeCurrency
fn clone(&self) -> ExchangeCurrency
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 ExchangeCurrency
impl Debug for ExchangeCurrency
Source§impl<'de> Deserialize<'de> for ExchangeCurrency
impl<'de> Deserialize<'de> for ExchangeCurrency
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 ExchangeCurrency
impl RefUnwindSafe for ExchangeCurrency
impl Send for ExchangeCurrency
impl Sync for ExchangeCurrency
impl Unpin for ExchangeCurrency
impl UnwindSafe for ExchangeCurrency
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