pub struct PostGetValidityProofResponse {
pub error: Option<PostGetValidityProofResponseError>,
pub id: PostGetValidityProofResponseId,
pub jsonrpc: PostGetValidityProofResponseJsonrpc,
pub result: Option<PostGetValidityProofResponseResult>,
}Expand description
PostGetValidityProofResponse
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc"
],
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
}
},
"id": {
"description": "An ID to identify the response.",
"type": "string",
"enum": [
"test-account"
]
},
"jsonrpc": {
"description": "The version of the JSON-RPC protocol.",
"type": "string",
"enum": [
"2.0"
]
},
"result": {
"type": "object",
"required": [
"context",
"value"
],
"properties": {
"context": {
"$ref": "#/components/schemas/Context"
},
"value": {
"$ref": "#/components/schemas/CompressedProofWithContext"
}
},
"additionalProperties": false
}
}
}Fields§
§error: Option<PostGetValidityProofResponseError>§id: PostGetValidityProofResponseIdAn ID to identify the response.
jsonrpc: PostGetValidityProofResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetValidityProofResponseResult>Implementations§
Trait Implementations§
Source§impl Clone for PostGetValidityProofResponse
impl Clone for PostGetValidityProofResponse
Source§fn clone(&self) -> PostGetValidityProofResponse
fn clone(&self) -> PostGetValidityProofResponse
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 Debug for PostGetValidityProofResponse
impl Debug for PostGetValidityProofResponse
Source§impl<'de> Deserialize<'de> for PostGetValidityProofResponse
impl<'de> Deserialize<'de> for PostGetValidityProofResponse
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<PostGetValidityProofResponse> for PostGetValidityProofResponse
impl From<PostGetValidityProofResponse> for PostGetValidityProofResponse
Source§fn from(value: PostGetValidityProofResponse) -> Self
fn from(value: PostGetValidityProofResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetValidityProofResponse> for PostGetValidityProofResponse
impl TryFrom<PostGetValidityProofResponse> for PostGetValidityProofResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetValidityProofResponse,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetValidityProofResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetValidityProofResponse
impl RefUnwindSafe for PostGetValidityProofResponse
impl Send for PostGetValidityProofResponse
impl Sync for PostGetValidityProofResponse
impl Unpin for PostGetValidityProofResponse
impl UnsafeUnpin for PostGetValidityProofResponse
impl UnwindSafe for PostGetValidityProofResponse
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