[][src]Struct casper_node::rpcs::info::GetStatusResult

pub struct GetStatusResult {
    pub api_version: Version,
    pub chainspec_name: String,
    pub genesis_root_hash: String,
    pub peers: BTreeMap<String, SocketAddr>,
    pub last_added_block_info: Option<MinimalBlockInfo>,
    pub build_version: String,
}

Result for "info_get_status" RPC response.

Fields

api_version: Version

The RPC API version.

chainspec_name: String

The chainspec name.

genesis_root_hash: String

The genesis root hash.

peers: BTreeMap<String, SocketAddr>

The node ID and network address of each connected peer.

last_added_block_info: Option<MinimalBlockInfo>

The minimal info of the last block from the linear chain.

build_version: String

The compiled node version.

Trait Implementations

impl Debug for GetStatusResult[src]

impl<'de> Deserialize<'de> for GetStatusResult[src]

impl From<StatusFeed<KeyFingerprint>> for GetStatusResult[src]

impl Serialize for GetStatusResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]