Struct solana_sdk::nonce::state::DurableNonce
source · pub struct DurableNonce(_);
Implementations§
source§impl DurableNonce
impl DurableNonce
pub fn from_blockhash(blockhash: &Hash) -> DurableNonce
Trait Implementations§
source§impl Clone for DurableNonce
impl Clone for DurableNonce
source§fn clone(&self) -> DurableNonce
fn clone(&self) -> DurableNonce
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 DurableNonce
impl Debug for DurableNonce
source§impl Default for DurableNonce
impl Default for DurableNonce
source§fn default() -> DurableNonce
fn default() -> DurableNonce
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DurableNonce
impl<'de> Deserialize<'de> for DurableNonce
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DurableNonce, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DurableNonce, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<DurableNonce> for DurableNonce
impl PartialEq<DurableNonce> for DurableNonce
source§fn eq(&self, other: &DurableNonce) -> bool
fn eq(&self, other: &DurableNonce) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DurableNonce
impl Serialize for DurableNonce
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