Struct fuels_types::chain_info::ChainInfo
source · pub struct ChainInfo {
pub base_chain_height: u64,
pub name: String,
pub peer_count: i32,
pub latest_block: Block,
pub consensus_parameters: ConsensusParameters,
}
Fields§
§base_chain_height: u64
§name: String
§peer_count: i32
§latest_block: Block
§consensus_parameters: ConsensusParameters
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ChainInfo
impl Send for ChainInfo
impl Sync for ChainInfo
impl Unpin for ChainInfo
impl UnwindSafe for ChainInfo
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.