pub struct GetBlockResponse {
pub block: ValueHolder,
pub proof: Option<ValueHolder>,
}Fields§
§block: ValueHolderThe block data object in Amazon Ion format.
proof: Option<ValueHolder>The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
Trait Implementations§
Source§impl Clone for GetBlockResponse
impl Clone for GetBlockResponse
Source§fn clone(&self) -> GetBlockResponse
fn clone(&self) -> GetBlockResponse
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 GetBlockResponse
impl Debug for GetBlockResponse
Source§impl Default for GetBlockResponse
impl Default for GetBlockResponse
Source§fn default() -> GetBlockResponse
fn default() -> GetBlockResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetBlockResponse
impl<'de> Deserialize<'de> for GetBlockResponse
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
Source§impl PartialEq for GetBlockResponse
impl PartialEq for GetBlockResponse
impl StructuralPartialEq for GetBlockResponse
Auto Trait Implementations§
impl Freeze for GetBlockResponse
impl RefUnwindSafe for GetBlockResponse
impl Send for GetBlockResponse
impl Sync for GetBlockResponse
impl Unpin for GetBlockResponse
impl UnwindSafe for GetBlockResponse
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