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