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> Clone for RpcBlockCommitment<T>where
T: Clone,
impl<T> Clone for RpcBlockCommitment<T>where
T: Clone,
source§fn clone(&self) -> RpcBlockCommitment<T>
fn clone(&self) -> RpcBlockCommitment<T>
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<T> Debug for RpcBlockCommitment<T>where
T: Debug,
impl<T> Debug for RpcBlockCommitment<T>where
T: Debug,
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<RpcBlockCommitment<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RpcBlockCommitment<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> PartialEq for RpcBlockCommitment<T>where
T: PartialEq,
impl<T> PartialEq for RpcBlockCommitment<T>where
T: PartialEq,
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 ==
.source§impl<T> Serialize for RpcBlockCommitment<T>where
T: Serialize,
impl<T> Serialize for RpcBlockCommitment<T>where
T: Serialize,
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> Eq for RpcBlockCommitment<T>where
T: Eq,
impl<T> StructuralEq for RpcBlockCommitment<T>
impl<T> StructuralPartialEq for RpcBlockCommitment<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for RpcBlockCommitment<T>where
T: RefUnwindSafe,
impl<T> Send for RpcBlockCommitment<T>where
T: Send,
impl<T> Sync for RpcBlockCommitment<T>where
T: Sync,
impl<T> Unpin for RpcBlockCommitment<T>where
T: Unpin,
impl<T> UnwindSafe for RpcBlockCommitment<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.