Struct solana_client::rpc_response::RpcContactInfo
source · 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§
source§impl Clone for RpcContactInfo
impl Clone for RpcContactInfo
source§fn clone(&self) -> RpcContactInfo
fn clone(&self) -> RpcContactInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RpcContactInfo
impl Debug for RpcContactInfo
source§impl<'de> Deserialize<'de> for RpcContactInfo
impl<'de> Deserialize<'de> for RpcContactInfo
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