Struct sc_telemetry::ConnectionMessage
source · [−]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.
Node is an authority.
startup_time: String
Node’s startup time.
network_id: String
Node’s network ID.
Trait Implementations
sourceimpl Debug for ConnectionMessage
impl Debug for ConnectionMessage
sourceimpl Serialize for ConnectionMessage
impl Serialize for ConnectionMessage
Auto Trait Implementations
impl RefUnwindSafe for ConnectionMessage
impl Send for ConnectionMessage
impl Sync for ConnectionMessage
impl Unpin for ConnectionMessage
impl UnwindSafe for ConnectionMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more