pub struct GetblockheaderParams {
pub blockhash: BlockHash,
pub verbose: Option<bool>,
}Expand description
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader ‘hash’. If verbose is true, returns an Object with information about blockheader <hash>.
Fields§
§blockhash: BlockHashThe block hash
verbose: Option<bool>true for a json object, false for the hex-encoded data
Trait Implementations§
Source§impl Debug for GetblockheaderParams
impl Debug for GetblockheaderParams
Auto Trait Implementations§
impl Freeze for GetblockheaderParams
impl RefUnwindSafe for GetblockheaderParams
impl Send for GetblockheaderParams
impl Sync for GetblockheaderParams
impl Unpin for GetblockheaderParams
impl UnwindSafe for GetblockheaderParams
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