pub struct RpcLightClientBlockProofResponse {
pub block_header_lite: LightClientBlockLiteView,
pub block_proof: Vec<MerklePathItem>,
}Expand description
RpcLightClientBlockProofResponse
JSON schema
{
"type": "object",
"required": [
"block_header_lite",
"block_proof"
],
"properties": {
"block_header_lite": {
"$ref": "#/components/schemas/LightClientBlockLiteView"
},
"block_proof": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MerklePathItem"
}
}
}
}Fields§
§block_header_lite: LightClientBlockLiteView§block_proof: Vec<MerklePathItem>Trait Implementations§
Source§impl Clone for RpcLightClientBlockProofResponse
impl Clone for RpcLightClientBlockProofResponse
Source§fn clone(&self) -> RpcLightClientBlockProofResponse
fn clone(&self) -> RpcLightClientBlockProofResponse
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<'de> Deserialize<'de> for RpcLightClientBlockProofResponse
impl<'de> Deserialize<'de> for RpcLightClientBlockProofResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcLightClientBlockProofResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcLightClientBlockProofResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RpcLightClientBlockProofResponse> for RpcLightClientBlockProofResponse
impl From<&RpcLightClientBlockProofResponse> for RpcLightClientBlockProofResponse
Source§fn from(
value: &RpcLightClientBlockProofResponse,
) -> RpcLightClientBlockProofResponse
fn from( value: &RpcLightClientBlockProofResponse, ) -> RpcLightClientBlockProofResponse
Converts to this type from the input type.
Source§impl Serialize for RpcLightClientBlockProofResponse
impl Serialize for RpcLightClientBlockProofResponse
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 RpcLightClientBlockProofResponse
impl RefUnwindSafe for RpcLightClientBlockProofResponse
impl Send for RpcLightClientBlockProofResponse
impl Sync for RpcLightClientBlockProofResponse
impl Unpin for RpcLightClientBlockProofResponse
impl UnwindSafe for RpcLightClientBlockProofResponse
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