pub struct PostGetQueueInfoBody {
pub id: PostGetQueueInfoBodyId,
pub jsonrpc: PostGetQueueInfoBodyJsonrpc,
pub method: PostGetQueueInfoBodyMethod,
pub params: PostGetQueueInfoBodyParams,
}Expand description
PostGetQueueInfoBody
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": [
"getQueueInfo"
]
},
"params": {
"type": "object",
"properties": {
"trees": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetQueueInfoBodyIdAn ID to identify the request.
jsonrpc: PostGetQueueInfoBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetQueueInfoBodyMethodThe name of the method to invoke.
params: PostGetQueueInfoBodyParamsImplementations§
Source§impl PostGetQueueInfoBody
impl PostGetQueueInfoBody
pub fn builder() -> PostGetQueueInfoBody
Trait Implementations§
Source§impl Clone for PostGetQueueInfoBody
impl Clone for PostGetQueueInfoBody
Source§fn clone(&self) -> PostGetQueueInfoBody
fn clone(&self) -> PostGetQueueInfoBody
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 PostGetQueueInfoBody
impl Debug for PostGetQueueInfoBody
Source§impl<'de> Deserialize<'de> for PostGetQueueInfoBody
impl<'de> Deserialize<'de> for PostGetQueueInfoBody
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<PostGetQueueInfoBody> for PostGetQueueInfoBody
impl From<PostGetQueueInfoBody> for PostGetQueueInfoBody
Source§fn from(value: PostGetQueueInfoBody) -> Self
fn from(value: PostGetQueueInfoBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostGetQueueInfoBody
impl Serialize for PostGetQueueInfoBody
Source§impl TryFrom<PostGetQueueInfoBody> for PostGetQueueInfoBody
impl TryFrom<PostGetQueueInfoBody> for PostGetQueueInfoBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetQueueInfoBody) -> Result<Self, ConversionError>
fn try_from(value: PostGetQueueInfoBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetQueueInfoBody
impl RefUnwindSafe for PostGetQueueInfoBody
impl Send for PostGetQueueInfoBody
impl Sync for PostGetQueueInfoBody
impl Unpin for PostGetQueueInfoBody
impl UnsafeUnpin for PostGetQueueInfoBody
impl UnwindSafe for PostGetQueueInfoBody
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