pub struct LightClientBlockLiteView {
pub inner_lite: BlockHeaderInnerLiteView,
pub inner_rest_hash: CryptoHash,
pub prev_block_hash: CryptoHash,
}
Expand description
LightClientBlockLiteView
JSON schema
{
"type": "object",
"required": [
"inner_lite",
"inner_rest_hash",
"prev_block_hash"
],
"properties": {
"inner_lite": {
"$ref": "#/components/schemas/BlockHeaderInnerLiteView"
},
"inner_rest_hash": {
"$ref": "#/components/schemas/CryptoHash"
},
"prev_block_hash": {
"$ref": "#/components/schemas/CryptoHash"
}
}
}
Fields§
§inner_lite: BlockHeaderInnerLiteView
§inner_rest_hash: CryptoHash
§prev_block_hash: CryptoHash
Trait Implementations§
Source§impl Clone for LightClientBlockLiteView
impl Clone for LightClientBlockLiteView
Source§fn clone(&self) -> LightClientBlockLiteView
fn clone(&self) -> LightClientBlockLiteView
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 LightClientBlockLiteView
impl Debug for LightClientBlockLiteView
Source§impl<'de> Deserialize<'de> for LightClientBlockLiteView
impl<'de> Deserialize<'de> for LightClientBlockLiteView
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 From<&LightClientBlockLiteView> for LightClientBlockLiteView
impl From<&LightClientBlockLiteView> for LightClientBlockLiteView
Source§fn from(value: &LightClientBlockLiteView) -> Self
fn from(value: &LightClientBlockLiteView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LightClientBlockLiteView
impl RefUnwindSafe for LightClientBlockLiteView
impl Send for LightClientBlockLiteView
impl Sync for LightClientBlockLiteView
impl Unpin for LightClientBlockLiteView
impl UnwindSafe for LightClientBlockLiteView
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