[][src]Struct algorand_rs::models::NodeStatus

pub struct NodeStatus {
    pub last_round: Round,
    pub last_version: String,
    pub next_version: String,
    pub next_version_round: Round,
    pub next_version_supported: bool,
    pub time_since_last_round: i64,
    pub catchup_time: i64,
}

The information about a node status

Fields

last_round: Round

the last round seen

last_version: String

The last consensus version supported

next_version: String

Next version of consensus protocol to use

next_version_round: Round

The round at which the next consensus version will apply

next_version_supported: bool

Whether the next consensus version is supported by this node

time_since_last_round: i64

Time since last round in nanoseconds

catchup_time: i64

Trait Implementations

impl Debug for NodeStatus[src]

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

impl Serialize for NodeStatus[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, 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, 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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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