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: CryptoHashTrait 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§const fn clone_from(&mut self, source: &Self)
const 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<LightClientBlockLiteView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LightClientBlockLiteView, <__D as Deserializer<'de>>::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) -> LightClientBlockLiteView
fn from(value: &LightClientBlockLiteView) -> LightClientBlockLiteView
Converts to this type from the input type.
Source§impl Serialize for LightClientBlockLiteView
impl Serialize for LightClientBlockLiteView
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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