pub struct GetBlockByHeightRequest {
pub height: u64,
}Expand description
get_block_by_height — fetch a full canonical block by height.
Fields§
§height: u64Canonical block height.
Implementations§
Trait Implementations§
Source§impl Clone for GetBlockByHeightRequest
impl Clone for GetBlockByHeightRequest
Source§fn clone(&self) -> GetBlockByHeightRequest
fn clone(&self) -> GetBlockByHeightRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetBlockByHeightRequest
impl Debug for GetBlockByHeightRequest
Source§impl<'de> Deserialize<'de> for GetBlockByHeightRequest
impl<'de> Deserialize<'de> for GetBlockByHeightRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetBlockByHeightRequest
impl RefUnwindSafe for GetBlockByHeightRequest
impl Send for GetBlockByHeightRequest
impl Sync for GetBlockByHeightRequest
impl Unpin for GetBlockByHeightRequest
impl UnsafeUnpin for GetBlockByHeightRequest
impl UnwindSafe for GetBlockByHeightRequest
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