pub struct DocumentSummary {
pub id: String,
pub title: Option<String>,
pub page_count: Option<i64>,
pub inserted_at: String,
pub is_password_needed: bool,
pub outputs: Vec<Output>,
}Expand description
One row from GET /api/documents.
Fields§
§id: String§title: Option<String>None if the document hasn’t been titled yet (e.g. a URL-sourced
document before the converter has determined one).
page_count: Option<i64>§inserted_at: StringISO 8601 UTC timestamp of when the document was created.
is_password_needed: boolThe document is a password-protected file that hasn’t been unlocked yet, so it has no outputs and nothing can be downloaded from it.
outputs: Vec<Output>Trait Implementations§
Source§impl Clone for DocumentSummary
impl Clone for DocumentSummary
Source§impl Debug for DocumentSummary
impl Debug for DocumentSummary
Source§impl<'de> Deserialize<'de> for DocumentSummary
impl<'de> Deserialize<'de> for DocumentSummary
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 DocumentSummary
impl Freeze for DocumentSummary
impl RefUnwindSafe for DocumentSummary
impl Send for DocumentSummary
impl Sync for DocumentSummary
impl Unpin for DocumentSummary
impl UnsafeUnpin for DocumentSummary
impl UnwindSafe for DocumentSummary
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