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