pub struct GetblockheaderParams {
pub blockhash: BlockHash,
pub verbose: 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
Fields§
§blockhash: BlockHash§verbose: boolTrait 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 UnsafeUnpin 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