pub struct TypedRowsResponse<T> {
pub count: Option<i32>,
pub next: Option<String>,
pub previous: Option<String>,
pub results: Vec<T>,
}
Expand description
Response structure for typed table row queries
Contains the query results along with pagination information, where results are deserialized into the specified type.
Fields§
§count: Option<i32>
Total count of records that match the query criteria, not just the current page
next: Option<String>
URL for the next page of results, if available
previous: Option<String>
URL for the previous page of results, if available
results: Vec<T>
The actual rows returned by the query, deserialized into type T
Trait Implementations§
Source§impl<T: Debug> Debug for TypedRowsResponse<T>
impl<T: Debug> Debug for TypedRowsResponse<T>
Source§impl<'de, T> Deserialize<'de> for TypedRowsResponse<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for TypedRowsResponse<T>where
T: Deserialize<'de>,
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<T> Freeze for TypedRowsResponse<T>
impl<T> RefUnwindSafe for TypedRowsResponse<T>where
T: RefUnwindSafe,
impl<T> Send for TypedRowsResponse<T>where
T: Send,
impl<T> Sync for TypedRowsResponse<T>where
T: Sync,
impl<T> Unpin for TypedRowsResponse<T>where
T: Unpin,
impl<T> UnwindSafe for TypedRowsResponse<T>where
T: UnwindSafe,
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