pub struct GetBlockHash(pub BlockHash);Expand description
Models the result of JSON-RPC method getblockhash.
Tuple Fields§
§0: BlockHashTrait Implementations§
Source§impl Clone for GetBlockHash
impl Clone for GetBlockHash
Source§fn clone(&self) -> GetBlockHash
fn clone(&self) -> GetBlockHash
Returns a duplicate 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 GetBlockHash
impl Debug for GetBlockHash
Source§impl<'de> Deserialize<'de> for GetBlockHash
impl<'de> Deserialize<'de> for GetBlockHash
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 for GetBlockHash
impl PartialEq for GetBlockHash
Source§impl Serialize for GetBlockHash
impl Serialize for GetBlockHash
impl Eq for GetBlockHash
impl StructuralPartialEq for GetBlockHash
Auto Trait Implementations§
impl Freeze for GetBlockHash
impl RefUnwindSafe for GetBlockHash
impl Send for GetBlockHash
impl Sync for GetBlockHash
impl Unpin for GetBlockHash
impl UnwindSafe for GetBlockHash
Blanket Implementations§
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