pub struct PostGetQueueInfoResponse {
pub error: Option<PostGetQueueInfoResponseError>,
pub id: PostGetQueueInfoResponseId,
pub jsonrpc: PostGetQueueInfoResponseJsonrpc,
pub result: Option<PostGetQueueInfoResponseResult>,
}Expand description
PostGetQueueInfoResponse
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": [
"queues",
"slot"
],
"properties": {
"queues": {
"type": "array",
"items": {
"$ref": "#/components/schemas/QueueInfo"
}
},
"slot": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}
}
}Fields§
§error: Option<PostGetQueueInfoResponseError>§id: PostGetQueueInfoResponseIdAn ID to identify the response.
jsonrpc: PostGetQueueInfoResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetQueueInfoResponseResult>Implementations§
Source§impl PostGetQueueInfoResponse
impl PostGetQueueInfoResponse
pub fn builder() -> PostGetQueueInfoResponse
Trait Implementations§
Source§impl Clone for PostGetQueueInfoResponse
impl Clone for PostGetQueueInfoResponse
Source§fn clone(&self) -> PostGetQueueInfoResponse
fn clone(&self) -> PostGetQueueInfoResponse
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 PostGetQueueInfoResponse
impl Debug for PostGetQueueInfoResponse
Source§impl<'de> Deserialize<'de> for PostGetQueueInfoResponse
impl<'de> Deserialize<'de> for PostGetQueueInfoResponse
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<PostGetQueueInfoResponse> for PostGetQueueInfoResponse
impl From<PostGetQueueInfoResponse> for PostGetQueueInfoResponse
Source§fn from(value: PostGetQueueInfoResponse) -> Self
fn from(value: PostGetQueueInfoResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostGetQueueInfoResponse
impl Serialize for PostGetQueueInfoResponse
Source§impl TryFrom<PostGetQueueInfoResponse> for PostGetQueueInfoResponse
impl TryFrom<PostGetQueueInfoResponse> for PostGetQueueInfoResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetQueueInfoResponse) -> Result<Self, ConversionError>
fn try_from(value: PostGetQueueInfoResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetQueueInfoResponse
impl RefUnwindSafe for PostGetQueueInfoResponse
impl Send for PostGetQueueInfoResponse
impl Sync for PostGetQueueInfoResponse
impl Unpin for PostGetQueueInfoResponse
impl UnsafeUnpin for PostGetQueueInfoResponse
impl UnwindSafe for PostGetQueueInfoResponse
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