pub struct PostGetLatestNonVotingSignaturesResponse {
pub error: Option<PostGetLatestNonVotingSignaturesResponseError>,
pub id: PostGetLatestNonVotingSignaturesResponseId,
pub jsonrpc: PostGetLatestNonVotingSignaturesResponseJsonrpc,
pub result: Option<PostGetLatestNonVotingSignaturesResponseResult>,
}Expand description
PostGetLatestNonVotingSignaturesResponse
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/SignatureInfoListWithError"
}
},
"additionalProperties": false
}
}
}Fields§
§error: Option<PostGetLatestNonVotingSignaturesResponseError>§id: PostGetLatestNonVotingSignaturesResponseIdAn ID to identify the response.
jsonrpc: PostGetLatestNonVotingSignaturesResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetLatestNonVotingSignaturesResponseResult>Implementations§
Trait Implementations§
Source§impl Clone for PostGetLatestNonVotingSignaturesResponse
impl Clone for PostGetLatestNonVotingSignaturesResponse
Source§fn clone(&self) -> PostGetLatestNonVotingSignaturesResponse
fn clone(&self) -> PostGetLatestNonVotingSignaturesResponse
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 PostGetLatestNonVotingSignaturesResponse
impl<'de> Deserialize<'de> for PostGetLatestNonVotingSignaturesResponse
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<PostGetLatestNonVotingSignaturesResponse> for PostGetLatestNonVotingSignaturesResponse
impl From<PostGetLatestNonVotingSignaturesResponse> for PostGetLatestNonVotingSignaturesResponse
Source§fn from(value: PostGetLatestNonVotingSignaturesResponse) -> Self
fn from(value: PostGetLatestNonVotingSignaturesResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetLatestNonVotingSignaturesResponse> for PostGetLatestNonVotingSignaturesResponse
impl TryFrom<PostGetLatestNonVotingSignaturesResponse> for PostGetLatestNonVotingSignaturesResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetLatestNonVotingSignaturesResponse,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetLatestNonVotingSignaturesResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetLatestNonVotingSignaturesResponse
impl RefUnwindSafe for PostGetLatestNonVotingSignaturesResponse
impl Send for PostGetLatestNonVotingSignaturesResponse
impl Sync for PostGetLatestNonVotingSignaturesResponse
impl Unpin for PostGetLatestNonVotingSignaturesResponse
impl UnsafeUnpin for PostGetLatestNonVotingSignaturesResponse
impl UnwindSafe for PostGetLatestNonVotingSignaturesResponse
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