pub struct GetBlockByHeightResponse {
pub block: Option<BlockFull>,
}Expand description
Response for GetBlockByHeightRequest. None means out-of-range.
Fields§
§block: Option<BlockFull>The block, or None if out-of-range / not canonical.
Trait Implementations§
Source§impl Clone for GetBlockByHeightResponse
impl Clone for GetBlockByHeightResponse
Source§fn clone(&self) -> GetBlockByHeightResponse
fn clone(&self) -> GetBlockByHeightResponse
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 GetBlockByHeightResponse
impl Debug for GetBlockByHeightResponse
Source§impl<'de> Deserialize<'de> for GetBlockByHeightResponse
impl<'de> Deserialize<'de> for GetBlockByHeightResponse
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 GetBlockByHeightResponse
impl RefUnwindSafe for GetBlockByHeightResponse
impl Send for GetBlockByHeightResponse
impl Sync for GetBlockByHeightResponse
impl Unpin for GetBlockByHeightResponse
impl UnsafeUnpin for GetBlockByHeightResponse
impl UnwindSafe for GetBlockByHeightResponse
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