pub struct ListDocumentOut {
pub pagination: Box<PaginationInfo>,
pub data: Vec<DocumentOut>,
}Fields§
§pagination: Box<PaginationInfo>§data: Vec<DocumentOut>Implementations§
Source§impl ListDocumentOut
impl ListDocumentOut
pub fn new( pagination: PaginationInfo, data: Vec<DocumentOut>, ) -> ListDocumentOut
Trait Implementations§
Source§impl Clone for ListDocumentOut
impl Clone for ListDocumentOut
Source§fn clone(&self) -> ListDocumentOut
fn clone(&self) -> ListDocumentOut
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 ListDocumentOut
impl Debug for ListDocumentOut
Source§impl Default for ListDocumentOut
impl Default for ListDocumentOut
Source§fn default() -> ListDocumentOut
fn default() -> ListDocumentOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListDocumentOut
impl<'de> Deserialize<'de> for ListDocumentOut
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 PartialEq for ListDocumentOut
impl PartialEq for ListDocumentOut
Source§impl Serialize for ListDocumentOut
impl Serialize for ListDocumentOut
impl StructuralPartialEq for ListDocumentOut
Auto Trait Implementations§
impl Freeze for ListDocumentOut
impl RefUnwindSafe for ListDocumentOut
impl Send for ListDocumentOut
impl Sync for ListDocumentOut
impl Unpin for ListDocumentOut
impl UnsafeUnpin for ListDocumentOut
impl UnwindSafe for ListDocumentOut
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