pub struct DocumentListData {
pub list: Option<Vec<DocumentItem>>,
pub total: Option<u64>,
}Expand description
Inner data of DocumentListResponse — the document list and total count.
Fields§
§list: Option<Vec<DocumentItem>>Documents list
total: Option<u64>Total count
Trait Implementations§
Source§impl Clone for DocumentListData
impl Clone for DocumentListData
Source§fn clone(&self) -> DocumentListData
fn clone(&self) -> DocumentListData
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 DocumentListData
impl Debug for DocumentListData
Source§impl<'de> Deserialize<'de> for DocumentListData
impl<'de> Deserialize<'de> for DocumentListData
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
Source§impl Serialize for DocumentListData
impl Serialize for DocumentListData
Source§impl Validate for DocumentListData
impl Validate for DocumentListData
Source§impl<'v_a> ValidateArgs<'v_a> for DocumentListData
impl<'v_a> ValidateArgs<'v_a> for DocumentListData
Auto Trait Implementations§
impl Freeze for DocumentListData
impl RefUnwindSafe for DocumentListData
impl Send for DocumentListData
impl Sync for DocumentListData
impl Unpin for DocumentListData
impl UnsafeUnpin for DocumentListData
impl UnwindSafe for DocumentListData
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