pub struct PostGetQueueElementsBodyParams {
pub address_queue: Option<QueueRequest>,
pub input_queue: Option<QueueRequest>,
pub output_queue: Option<QueueRequest>,
pub tree: Hash,
}Expand description
PostGetQueueElementsBodyParams
JSON schema
{
"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§
§address_queue: Option<QueueRequest>§input_queue: Option<QueueRequest>§output_queue: Option<QueueRequest>§tree: HashImplementations§
Trait Implementations§
Source§impl Clone for PostGetQueueElementsBodyParams
impl Clone for PostGetQueueElementsBodyParams
Source§fn clone(&self) -> PostGetQueueElementsBodyParams
fn clone(&self) -> PostGetQueueElementsBodyParams
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 PostGetQueueElementsBodyParams
impl<'de> Deserialize<'de> for PostGetQueueElementsBodyParams
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<PostGetQueueElementsBodyParams> for PostGetQueueElementsBodyParams
impl From<PostGetQueueElementsBodyParams> for PostGetQueueElementsBodyParams
Source§fn from(value: PostGetQueueElementsBodyParams) -> Self
fn from(value: PostGetQueueElementsBodyParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetQueueElementsBodyParams> for PostGetQueueElementsBodyParams
impl TryFrom<PostGetQueueElementsBodyParams> for PostGetQueueElementsBodyParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetQueueElementsBodyParams,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetQueueElementsBodyParams, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetQueueElementsBodyParams
impl RefUnwindSafe for PostGetQueueElementsBodyParams
impl Send for PostGetQueueElementsBodyParams
impl Sync for PostGetQueueElementsBodyParams
impl Unpin for PostGetQueueElementsBodyParams
impl UnsafeUnpin for PostGetQueueElementsBodyParams
impl UnwindSafe for PostGetQueueElementsBodyParams
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