pub struct SubmitheaderParams {
pub hexdata: String,
}Expand description
Decode the given hexdata as a header and submit it as a candidate chain tip if valid. Throws when the header is invalid.
Fields§
§hexdata: StringTrait Implementations§
Source§impl Debug for SubmitheaderParams
impl Debug for SubmitheaderParams
Auto Trait Implementations§
impl Freeze for SubmitheaderParams
impl RefUnwindSafe for SubmitheaderParams
impl Send for SubmitheaderParams
impl Sync for SubmitheaderParams
impl Unpin for SubmitheaderParams
impl UnsafeUnpin for SubmitheaderParams
impl UnwindSafe for SubmitheaderParams
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