pub struct PostGetLatestNonVotingSignaturesBody {
pub id: PostGetLatestNonVotingSignaturesBodyId,
pub jsonrpc: PostGetLatestNonVotingSignaturesBodyJsonrpc,
pub method: PostGetLatestNonVotingSignaturesBodyMethod,
pub params: PostGetLatestNonVotingSignaturesBodyParams,
}Expand description
PostGetLatestNonVotingSignaturesBody
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc",
"method",
"params"
],
"properties": {
"id": {
"description": "An ID to identify the request.",
"type": "string",
"enum": [
"test-account"
]
},
"jsonrpc": {
"description": "The version of the JSON-RPC protocol.",
"type": "string",
"enum": [
"2.0"
]
},
"method": {
"description": "The name of the method to invoke.",
"type": "string",
"enum": [
"getLatestNonVotingSignatures"
]
},
"params": {
"type": "object",
"properties": {
"cursor": {
"type": [
"string",
"null"
]
},
"limit": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Limit"
}
]
}
]
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetLatestNonVotingSignaturesBodyIdAn ID to identify the request.
jsonrpc: PostGetLatestNonVotingSignaturesBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetLatestNonVotingSignaturesBodyMethodThe name of the method to invoke.
params: PostGetLatestNonVotingSignaturesBodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetLatestNonVotingSignaturesBody
impl Clone for PostGetLatestNonVotingSignaturesBody
Source§fn clone(&self) -> PostGetLatestNonVotingSignaturesBody
fn clone(&self) -> PostGetLatestNonVotingSignaturesBody
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 PostGetLatestNonVotingSignaturesBody
impl<'de> Deserialize<'de> for PostGetLatestNonVotingSignaturesBody
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<PostGetLatestNonVotingSignaturesBody> for PostGetLatestNonVotingSignaturesBody
impl From<PostGetLatestNonVotingSignaturesBody> for PostGetLatestNonVotingSignaturesBody
Source§fn from(value: PostGetLatestNonVotingSignaturesBody) -> Self
fn from(value: PostGetLatestNonVotingSignaturesBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetLatestNonVotingSignaturesBody> for PostGetLatestNonVotingSignaturesBody
impl TryFrom<PostGetLatestNonVotingSignaturesBody> for PostGetLatestNonVotingSignaturesBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetLatestNonVotingSignaturesBody,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetLatestNonVotingSignaturesBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetLatestNonVotingSignaturesBody
impl RefUnwindSafe for PostGetLatestNonVotingSignaturesBody
impl Send for PostGetLatestNonVotingSignaturesBody
impl Sync for PostGetLatestNonVotingSignaturesBody
impl Unpin for PostGetLatestNonVotingSignaturesBody
impl UnsafeUnpin for PostGetLatestNonVotingSignaturesBody
impl UnwindSafe for PostGetLatestNonVotingSignaturesBody
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