pub struct PaginatedMeta {
pub has_more: bool,
pub next_cursor: Option<String>,
pub total_count: i64,
}Expand description
Pagination metadata for paginated responses
JSON schema
{
"description": "Pagination metadata for paginated responses",
"type": "object",
"required": [
"has_more",
"next_cursor",
"total_count"
],
"properties": {
"has_more": {
"description": "Whether there are more records beyond this page",
"examples": [
true
],
"type": "boolean"
},
"next_cursor": {
"description": "Cursor to fetch the next page (null if no more records)",
"examples": [
"2026-03-24T10:00:00Z_uuid-here"
],
"type": [
"string",
"null"
]
},
"total_count": {
"description": "Total number of records in the current page",
"examples": [
50
],
"type": "integer"
}
},
"additionalProperties": false
}Fields§
§has_more: boolWhether there are more records beyond this page
next_cursor: Option<String>Cursor to fetch the next page (null if no more records)
total_count: i64Total number of records in the current page
Trait Implementations§
Source§impl Clone for PaginatedMeta
impl Clone for PaginatedMeta
Source§fn clone(&self) -> PaginatedMeta
fn clone(&self) -> PaginatedMeta
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 PaginatedMeta
impl Debug for PaginatedMeta
Source§impl<'de> Deserialize<'de> for PaginatedMeta
impl<'de> Deserialize<'de> for PaginatedMeta
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 PaginatedMeta
impl RefUnwindSafe for PaginatedMeta
impl Send for PaginatedMeta
impl Sync for PaginatedMeta
impl Unpin for PaginatedMeta
impl UnsafeUnpin for PaginatedMeta
impl UnwindSafe for PaginatedMeta
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