pub struct AssetNetwork {
pub network: String,
pub contract: Option<String>,
}Expand description
One network of an asset and the token contract on it.
Fields§
§network: StringThe venue’s network name (e.g. ETH).
contract: Option<String>The token contract, or None for the network’s native coin.
Trait Implementations§
Source§impl Clone for AssetNetwork
impl Clone for AssetNetwork
Source§impl Debug for AssetNetwork
impl Debug for AssetNetwork
impl Eq for AssetNetwork
Source§impl PartialEq for AssetNetwork
impl PartialEq for AssetNetwork
Source§impl Serialize for AssetNetwork
impl Serialize for AssetNetwork
impl StructuralPartialEq for AssetNetwork
Auto Trait Implementations§
impl Freeze for AssetNetwork
impl RefUnwindSafe for AssetNetwork
impl Send for AssetNetwork
impl Sync for AssetNetwork
impl Unpin for AssetNetwork
impl UnsafeUnpin for AssetNetwork
impl UnwindSafe for AssetNetwork
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.