pub enum RpcLightClientExecutionProofRequest {
Variant0 {
light_client_head: CryptoHash,
sender_id: AccountId,
transaction_hash: CryptoHash,
type_: TypeTransactionOrReceiptId,
},
Variant1 {
light_client_head: CryptoHash,
receipt_id: CryptoHash,
receiver_id: AccountId,
type_: TypeTransactionOrReceiptId,
},
}Expand description
RpcLightClientExecutionProofRequest
JSON schema
{
"title": "RpcLightClientExecutionProofRequest",
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"sender_id",
"transaction_hash"
],
"properties": {
"sender_id": {
"$ref": "#/components/schemas/AccountId"
},
"transaction_hash": {
"$ref": "#/components/schemas/CryptoHash"
}
}
},
{
"type": "object",
"required": [
"receipt_id",
"receiver_id"
],
"properties": {
"receipt_id": {
"$ref": "#/components/schemas/CryptoHash"
},
"receiver_id": {
"$ref": "#/components/schemas/AccountId"
}
}
}
],
"required": [
"light_client_head",
"type"
],
"properties": {
"light_client_head": {
"$ref": "#/components/schemas/CryptoHash"
},
"type": {
"$ref": "#/components/schemas/TypeTransactionOrReceiptId"
}
}
}Variants§
Variant0
Variant1
Trait Implementations§
Source§impl Clone for RpcLightClientExecutionProofRequest
impl Clone for RpcLightClientExecutionProofRequest
Source§fn clone(&self) -> RpcLightClientExecutionProofRequest
fn clone(&self) -> RpcLightClientExecutionProofRequest
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 RpcLightClientExecutionProofRequest
impl<'de> Deserialize<'de> for RpcLightClientExecutionProofRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcLightClientExecutionProofRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcLightClientExecutionProofRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RpcLightClientExecutionProofRequest> for RpcLightClientExecutionProofRequest
impl From<&RpcLightClientExecutionProofRequest> for RpcLightClientExecutionProofRequest
Source§fn from(
value: &RpcLightClientExecutionProofRequest,
) -> RpcLightClientExecutionProofRequest
fn from( value: &RpcLightClientExecutionProofRequest, ) -> RpcLightClientExecutionProofRequest
Converts to this type from the input type.
Source§impl Serialize for RpcLightClientExecutionProofRequest
impl Serialize for RpcLightClientExecutionProofRequest
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 RpcLightClientExecutionProofRequest
impl RefUnwindSafe for RpcLightClientExecutionProofRequest
impl Send for RpcLightClientExecutionProofRequest
impl Sync for RpcLightClientExecutionProofRequest
impl Unpin for RpcLightClientExecutionProofRequest
impl UnwindSafe for RpcLightClientExecutionProofRequest
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