pub struct PostGetQueueElementsBody {
pub id: PostGetQueueElementsBodyId,
pub jsonrpc: PostGetQueueElementsBodyJsonrpc,
pub method: PostGetQueueElementsBodyMethod,
pub params: PostGetQueueElementsBodyParams,
}Expand description
PostGetQueueElementsBody
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": [
"getQueueElements"
]
},
"params": {
"type": "object",
"required": [
"tree"
],
"properties": {
"addressQueue": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/QueueRequest"
}
]
}
]
},
"inputQueue": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/QueueRequest"
}
]
}
]
},
"outputQueue": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/QueueRequest"
}
]
}
]
},
"tree": {
"$ref": "#/components/schemas/Hash"
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetQueueElementsBodyIdAn ID to identify the request.
jsonrpc: PostGetQueueElementsBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetQueueElementsBodyMethodThe name of the method to invoke.
params: PostGetQueueElementsBodyParamsImplementations§
Source§impl PostGetQueueElementsBody
impl PostGetQueueElementsBody
pub fn builder() -> PostGetQueueElementsBody
Trait Implementations§
Source§impl Clone for PostGetQueueElementsBody
impl Clone for PostGetQueueElementsBody
Source§fn clone(&self) -> PostGetQueueElementsBody
fn clone(&self) -> PostGetQueueElementsBody
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 PostGetQueueElementsBody
impl Debug for PostGetQueueElementsBody
Source§impl<'de> Deserialize<'de> for PostGetQueueElementsBody
impl<'de> Deserialize<'de> for PostGetQueueElementsBody
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<PostGetQueueElementsBody> for PostGetQueueElementsBody
impl From<PostGetQueueElementsBody> for PostGetQueueElementsBody
Source§fn from(value: PostGetQueueElementsBody) -> Self
fn from(value: PostGetQueueElementsBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostGetQueueElementsBody
impl Serialize for PostGetQueueElementsBody
Source§impl TryFrom<PostGetQueueElementsBody> for PostGetQueueElementsBody
impl TryFrom<PostGetQueueElementsBody> for PostGetQueueElementsBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetQueueElementsBody) -> Result<Self, ConversionError>
fn try_from(value: PostGetQueueElementsBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetQueueElementsBody
impl RefUnwindSafe for PostGetQueueElementsBody
impl Send for PostGetQueueElementsBody
impl Sync for PostGetQueueElementsBody
impl Unpin for PostGetQueueElementsBody
impl UnsafeUnpin for PostGetQueueElementsBody
impl UnwindSafe for PostGetQueueElementsBody
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