pub struct WaitForNewBlockResponse {
pub hash: String,
pub height: u64,
}Expand description
Response for the WaitForNewBlock RPC method
Fields§
§hash: StringThe blockhash
height: u64Block height
Trait Implementations§
Source§impl Clone for WaitForNewBlockResponse
impl Clone for WaitForNewBlockResponse
Source§fn clone(&self) -> WaitForNewBlockResponse
fn clone(&self) -> WaitForNewBlockResponse
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 WaitForNewBlockResponse
impl Debug for WaitForNewBlockResponse
Source§impl<'de> Deserialize<'de> for WaitForNewBlockResponse
impl<'de> Deserialize<'de> for WaitForNewBlockResponse
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 WaitForNewBlockResponse
impl PartialEq for WaitForNewBlockResponse
Source§impl Serialize for WaitForNewBlockResponse
impl Serialize for WaitForNewBlockResponse
impl StructuralPartialEq for WaitForNewBlockResponse
Auto Trait Implementations§
impl Freeze for WaitForNewBlockResponse
impl RefUnwindSafe for WaitForNewBlockResponse
impl Send for WaitForNewBlockResponse
impl Sync for WaitForNewBlockResponse
impl Unpin for WaitForNewBlockResponse
impl UnwindSafe for WaitForNewBlockResponse
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