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§fn clone_from(&mut self, source: &Self)
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<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<&RpcLightClientBlockProofResponse> for RpcLightClientBlockProofResponse
impl From<&RpcLightClientBlockProofResponse> for RpcLightClientBlockProofResponse
Source§fn from(value: &RpcLightClientBlockProofResponse) -> Self
fn from(value: &RpcLightClientBlockProofResponse) -> Self
Converts to this type from the input type.
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