Struct solana_client::rpc_response::RpcContactInfo [−][src]
pub struct RpcContactInfo { pub pubkey: String, pub gossip: Option<SocketAddr>, pub tpu: Option<SocketAddr>, pub rpc: Option<SocketAddr>, pub version: Option<String>, pub feature_set: Option<u32>, pub shred_version: Option<u16>, }
Fields
pubkey: String
Pubkey of the node as a base-58 string
gossip: Option<SocketAddr>
Gossip port
tpu: Option<SocketAddr>
Tpu port
rpc: Option<SocketAddr>
JSON RPC port
version: Option<String>
Software version
feature_set: Option<u32>
First 4 bytes of the FeatureSet identifier
shred_version: Option<u16>
Shred version
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for RpcContactInfo
impl Send for RpcContactInfo
impl Sync for RpcContactInfo
impl Unpin for RpcContactInfo
impl UnwindSafe for RpcContactInfo
Blanket Implementations
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V