Struct solana_cli_output::CliGossipNode
source · pub struct CliGossipNode {
pub ip_address: Option<String>,
pub identity_label: Option<String>,
pub identity_pubkey: String,
pub gossip_port: Option<u16>,
pub tpu_port: Option<u16>,
pub rpc_host: Option<String>,
pub pubsub_host: Option<String>,
pub version: Option<String>,
pub feature_set: Option<u32>,
}
Fields§
§ip_address: Option<String>
§identity_label: Option<String>
§identity_pubkey: String
§gossip_port: Option<u16>
§tpu_port: Option<u16>
§rpc_host: Option<String>
§pubsub_host: Option<String>
§version: Option<String>
§feature_set: Option<u32>
Implementations§
source§impl CliGossipNode
impl CliGossipNode
Trait Implementations§
source§impl<'de> Deserialize<'de> for CliGossipNode
impl<'de> Deserialize<'de> for CliGossipNode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CliGossipNode
impl Display for CliGossipNode
source§impl QuietDisplay for CliGossipNode
impl QuietDisplay for CliGossipNode
source§impl Serialize for CliGossipNode
impl Serialize for CliGossipNode
source§impl VerboseDisplay for CliGossipNode
impl VerboseDisplay for CliGossipNode
Auto Trait Implementations§
impl Freeze for CliGossipNode
impl RefUnwindSafe for CliGossipNode
impl Send for CliGossipNode
impl Sync for CliGossipNode
impl Unpin for CliGossipNode
impl UnwindSafe for CliGossipNode
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more