pub struct NonEvmChainInfo {
pub id: u64,
pub label: &'static str,
pub address_prefix: &'static str,
pub native_currency: ChainTokenInfo,
pub is_testnet: bool,
pub color: &'static str,
pub logo: ThemedImage,
pub website: WebUrl,
pub docs: WebUrl,
pub block_explorer: WebUrl,
pub is_under_development: bool,
pub is_deprecated: bool,
}Expand description
Metadata for a non-EVM chain (e.g. Bitcoin, Solana).
Fields§
§id: u64Internal chain ID.
label: &'static strDisplay label.
address_prefix: &'static strAddress prefix.
native_currency: ChainTokenInfoNative currency info.
is_testnet: boolWhether this is a testnet.
color: &'static strBrand color for UI display.
logo: ThemedImageChain logo.
website: WebUrlChain website.
docs: WebUrlChain documentation.
block_explorer: WebUrlBlock explorer.
is_under_development: boolWhether this chain is under development.
is_deprecated: boolWhether this chain is deprecated.
Trait Implementations§
Source§impl Clone for NonEvmChainInfo
impl Clone for NonEvmChainInfo
Source§fn clone(&self) -> NonEvmChainInfo
fn clone(&self) -> NonEvmChainInfo
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 moreAuto Trait Implementations§
impl Freeze for NonEvmChainInfo
impl RefUnwindSafe for NonEvmChainInfo
impl Send for NonEvmChainInfo
impl Sync for NonEvmChainInfo
impl Unpin for NonEvmChainInfo
impl UnsafeUnpin for NonEvmChainInfo
impl UnwindSafe for NonEvmChainInfo
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