pub struct ListPositionsResponse {
pub page: Option<u32>,
pub page_size: Option<u32>,
pub positions: Option<Vec<Position>>,
pub total: Option<u32>,
}Expand description
ListPositionsResponse
JSON schema
{
"type": "object",
"properties": {
"page": {
"type": [
"integer",
"null"
],
"format": "uint32"
},
"pageSize": {
"type": [
"integer",
"null"
],
"format": "uint32"
},
"positions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/Position"
}
},
"total": {
"type": [
"integer",
"null"
],
"format": "uint32"
}
}
}Fields§
§page: Option<u32>§page_size: Option<u32>§positions: Option<Vec<Position>>§total: Option<u32>Trait Implementations§
Source§impl Clone for ListPositionsResponse
impl Clone for ListPositionsResponse
Source§fn clone(&self) -> ListPositionsResponse
fn clone(&self) -> ListPositionsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListPositionsResponse
impl Debug for ListPositionsResponse
Source§impl Default for ListPositionsResponse
impl Default for ListPositionsResponse
Source§impl<'de> Deserialize<'de> for ListPositionsResponse
impl<'de> Deserialize<'de> for ListPositionsResponse
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
Auto Trait Implementations§
impl Freeze for ListPositionsResponse
impl RefUnwindSafe for ListPositionsResponse
impl Send for ListPositionsResponse
impl Sync for ListPositionsResponse
impl Unpin for ListPositionsResponse
impl UnsafeUnpin for ListPositionsResponse
impl UnwindSafe for ListPositionsResponse
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