Struct boot_core::networks::NetworkInfo
source · pub struct NetworkInfo<'a> {
pub id: &'a str,
pub gas_denom: &'a str,
pub gas_price: f64,
pub grpc_urls: &'a [&'a str],
pub lcd_url: Option<&'a str>,
pub fcd_url: Option<&'a str>,
pub chain_info: ChainInfo<'a>,
pub kind: NetworkKind,
}
Fields§
§id: &'a str
Identifier for the network ex. columbus-2
gas_denom: &'a str
Max gas and denom info
gas_price: f64
gas price
grpc_urls: &'a [&'a str]
§lcd_url: Option<&'a str>
Optional urls for custom functionality
fcd_url: Option<&'a str>
§chain_info: ChainInfo<'a>
§kind: NetworkKind
Trait Implementations§
source§impl<'a> Clone for NetworkInfo<'a>
impl<'a> Clone for NetworkInfo<'a>
source§fn clone(&self) -> NetworkInfo<'a>
fn clone(&self) -> NetworkInfo<'a>
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<'a> Debug for NetworkInfo<'a>
impl<'a> Debug for NetworkInfo<'a>
source§impl Into<ChainData> for NetworkInfo<'_>
impl Into<ChainData> for NetworkInfo<'_>
source§fn into(self) -> RegistryChainInfo
fn into(self) -> RegistryChainInfo
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for NetworkInfo<'a>
impl<'a> Send for NetworkInfo<'a>
impl<'a> Sync for NetworkInfo<'a>
impl<'a> Unpin for NetworkInfo<'a>
impl<'a> UnwindSafe for NetworkInfo<'a>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request