pub struct ListResult {
pub items: Vec<ListItem>,
pub total: usize,
pub page: usize,
pub page_size: usize,
}Expand description
Result from listing collections.
Fields§
§items: Vec<ListItem>§total: usize§page: usize§page_size: usizeTrait 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 moreSource§impl Debug for ListResult
impl Debug for ListResult
Source§impl<'de> Deserialize<'de> for ListResult
impl<'de> Deserialize<'de> for ListResult
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 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