Struct sc_telemetry::ConnectionMessage
source · pub struct ConnectionMessage {Show 13 fields
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,
pub target_os: String,
pub target_arch: String,
pub target_env: String,
pub sysinfo: Option<SysInfo>,
}
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.
target_os: String
Node’s OS.
target_arch: String
Node’s ISA.
target_env: String
Node’s target platform ABI or libc.
sysinfo: Option<SysInfo>
Node’s software and hardware information.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
sourcefn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
sourcefn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresourceimpl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
sourcefn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.