pub struct Header {
pub height: u32,
}Fields§
§height: u32Trait Implementations§
Source§impl Request for Header
impl Request for Header
Source§type Response = HeaderResp
type Response = HeaderResp
The associated response type of this request.
fn to_method_and_params(&self) -> MethodAndParams
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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