pub struct DocumentList {
pub documents: Vec<DocumentSummary>,
pub pages_remaining: Option<i64>,
pub suggest_buying_pages: bool,
}Expand description
The result of GET /api/documents.
Fields§
§documents: Vec<DocumentSummary>§pages_remaining: Option<i64>§suggest_buying_pages: boolWhether to put buying pages in front of the user, such as on the home screen. The server decides: it is true for an individual account with only trial pages or few pages left. False from a server that predates it.
Trait Implementations§
Source§impl Clone for DocumentList
impl Clone for DocumentList
Source§impl Debug for DocumentList
impl Debug for DocumentList
Source§impl<'de> Deserialize<'de> for DocumentList
impl<'de> Deserialize<'de> for DocumentList
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 Forget for DocumentList
impl Freeze for DocumentList
impl Move for DocumentList
impl RefUnwindSafe for DocumentList
impl Send for DocumentList
impl Sync for DocumentList
impl Unpin for DocumentList
impl UnsafeUnpin for DocumentList
impl UnwindSafe for DocumentList
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