Struct boot_core::NetworkInfo
source · pub struct NetworkInfo<'a> {
pub id: &'a str,
pub gas_denom: &'a str,
pub gas_price: f64,
pub grpc_url: &'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 strIdentifier for the network ex. columbus-2
gas_denom: &'a strMax gas and denom info
gas_price: f64gas price
grpc_url: &'a strlcd_url: Option<&'a str>Optional urls for custom functionality
fcd_url: Option<&'a str>chain_info: ChainInfo<'a>kind: NetworkKindTrait Implementations
sourceimpl<'a> Clone for NetworkInfo<'a>
impl<'a> Clone for NetworkInfo<'a>
sourcefn clone(&self) -> NetworkInfo<'a>
fn clone(&self) -> NetworkInfo<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request