pub struct GetblockParams {
pub blockhash: BlockHash,
pub verbosity: u32,
}Expand description
If verbosity is 0, returns a string that is serialized, hex-encoded data for block “hash”.
If verbosity is 1, returns an Object with information about block
Fields§
§blockhash: BlockHash§verbosity: u32Trait Implementations§
Source§impl Debug for GetblockParams
impl Debug for GetblockParams
Auto Trait Implementations§
impl Freeze for GetblockParams
impl RefUnwindSafe for GetblockParams
impl Send for GetblockParams
impl Sync for GetblockParams
impl Unpin for GetblockParams
impl UnsafeUnpin for GetblockParams
impl UnwindSafe for GetblockParams
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