pub struct PaginatedResponseEntityResponse {
pub items: Vec<PaginatedResponseEntityResponseItemsItem>,
pub total: i64,
}Expand description
Paginated response body for list endpoints.
JSON schema
{
"description": "Paginated response body for list endpoints.",
"type": "object",
"required": [
"items",
"total"
],
"properties": {
"items": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/components/schemas/Entity"
},
{
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/StorageFeatures"
}
]
}
]
},
{
"type": "object",
"properties": {
"entity_metadata": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/HashMap"
}
]
}
]
},
"state": {}
}
}
]
}
},
"total": {
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§items: Vec<PaginatedResponseEntityResponseItemsItem>§total: i64Trait Implementations§
Source§impl Clone for PaginatedResponseEntityResponse
impl Clone for PaginatedResponseEntityResponse
Source§fn clone(&self) -> PaginatedResponseEntityResponse
fn clone(&self) -> PaginatedResponseEntityResponse
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<'de> Deserialize<'de> for PaginatedResponseEntityResponse
impl<'de> Deserialize<'de> for PaginatedResponseEntityResponse
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 PaginatedResponseEntityResponse
impl RefUnwindSafe for PaginatedResponseEntityResponse
impl Send for PaginatedResponseEntityResponse
impl Sync for PaginatedResponseEntityResponse
impl Unpin for PaginatedResponseEntityResponse
impl UnsafeUnpin for PaginatedResponseEntityResponse
impl UnwindSafe for PaginatedResponseEntityResponse
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