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