pub struct ChainInfo {
pub id: u64,
pub name: &'static str,
pub short_name: &'static str,
pub rpc_urls: Vec<&'static str>,
pub features: Vec<String>,
pub faucets: Vec<String>,
pub native_currency: NativeCurrency,
pub info_url: &'static str,
pub slip44: Option<i64>,
pub block_time_ms: u64,
pub icon: Option<String>,
pub explorers: Vec<Explorer>,
}Expand description
Chain metadata derived from chainid.network
Fields§
§id: u64§name: &'static str§short_name: &'static str§rpc_urls: Vec<&'static str>§features: Vec<String>§faucets: Vec<String>§native_currency: NativeCurrency§info_url: &'static str§slip44: Option<i64>§block_time_ms: u64§icon: Option<String>§explorers: Vec<Explorer>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainInfo
impl RefUnwindSafe for ChainInfo
impl Send for ChainInfo
impl Sync for ChainInfo
impl Unpin for ChainInfo
impl UnwindSafe for ChainInfo
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