Struct solana_client::rpc_response::RpcResponseContext
source · pub struct RpcResponseContext {
pub slot: Slot,
pub api_version: Option<RpcApiVersion>,
}
Fields§
§slot: Slot
§api_version: Option<RpcApiVersion>
Implementations§
Trait Implementations§
source§impl Clone for RpcResponseContext
impl Clone for RpcResponseContext
source§fn clone(&self) -> RpcResponseContext
fn clone(&self) -> RpcResponseContext
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 RpcResponseContext
impl Debug for RpcResponseContext
source§impl<'de> Deserialize<'de> for RpcResponseContext
impl<'de> Deserialize<'de> for RpcResponseContext
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 PartialEq<RpcResponseContext> for RpcResponseContext
impl PartialEq<RpcResponseContext> for RpcResponseContext
source§fn eq(&self, other: &RpcResponseContext) -> bool
fn eq(&self, other: &RpcResponseContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.