pub struct ConnectionMessage {
    pub name: String,
    pub implementation: String,
    pub version: String,
    pub config: String,
    pub chain: String,
    pub genesis_hash: String,
    pub authority: bool,
    pub startup_time: String,
    pub network_id: String,
}
Expand description

Message sent when the connection (re-)establishes.

Fields

name: String

Node’s name.

implementation: String

Node’s implementation.

version: String

Node’s version.

config: String

Node’s configuration.

chain: String

Node’s chain.

genesis_hash: String

Node’s genesis hash.

authority: bool

Node is an authority.

startup_time: String

Node’s startup time.

network_id: String

Node’s network ID.

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.