pub struct ListResult {
pub items: Vec<Value>,
pub total: Option<u64>,
pub page: Option<u64>,
pub per_page: Option<u64>,
pub has_more: Option<bool>,
pub cursor: Option<String>,
}Expand description
Unified list query result.
Returned by TableRef::get_list().
Fields§
§items: Vec<Value>§total: Option<u64>§page: Option<u64>§per_page: Option<u64>§has_more: Option<bool>§cursor: Option<String>Implementations§
Source§impl ListResult
impl ListResult
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for ListResult
impl Clone for ListResult
Source§fn clone(&self) -> ListResult
fn clone(&self) -> ListResult
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 moreAuto Trait Implementations§
impl Freeze for ListResult
impl RefUnwindSafe for ListResult
impl Send for ListResult
impl Sync for ListResult
impl Unpin for ListResult
impl UnsafeUnpin for ListResult
impl UnwindSafe for ListResult
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