pub struct PostGetQueueElementsResponse {
pub error: Option<PostGetQueueElementsResponseError>,
pub id: PostGetQueueElementsResponseId,
pub jsonrpc: PostGetQueueElementsResponseJsonrpc,
pub result: Option<PostGetQueueElementsResponseResult>,
}Expand description
PostGetQueueElementsResponse
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"
],
"properties": {
"addressQueue": {
"$ref": "#/components/schemas/AddressQueueData"
},
"context": {
"$ref": "#/components/schemas/Context"
},
"stateQueue": {
"$ref": "#/components/schemas/StateQueueData"
}
},
"additionalProperties": false
}
}
}Fields§
§error: Option<PostGetQueueElementsResponseError>§id: PostGetQueueElementsResponseIdAn ID to identify the response.
jsonrpc: PostGetQueueElementsResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetQueueElementsResponseResult>Implementations§
Trait Implementations§
Source§impl Clone for PostGetQueueElementsResponse
impl Clone for PostGetQueueElementsResponse
Source§fn clone(&self) -> PostGetQueueElementsResponse
fn clone(&self) -> PostGetQueueElementsResponse
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 PostGetQueueElementsResponse
impl Debug for PostGetQueueElementsResponse
Source§impl<'de> Deserialize<'de> for PostGetQueueElementsResponse
impl<'de> Deserialize<'de> for PostGetQueueElementsResponse
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<PostGetQueueElementsResponse> for PostGetQueueElementsResponse
impl From<PostGetQueueElementsResponse> for PostGetQueueElementsResponse
Source§fn from(value: PostGetQueueElementsResponse) -> Self
fn from(value: PostGetQueueElementsResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetQueueElementsResponse> for PostGetQueueElementsResponse
impl TryFrom<PostGetQueueElementsResponse> for PostGetQueueElementsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetQueueElementsResponse,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetQueueElementsResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetQueueElementsResponse
impl RefUnwindSafe for PostGetQueueElementsResponse
impl Send for PostGetQueueElementsResponse
impl Sync for PostGetQueueElementsResponse
impl Unpin for PostGetQueueElementsResponse
impl UnsafeUnpin for PostGetQueueElementsResponse
impl UnwindSafe for PostGetQueueElementsResponse
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