pub struct IngestProgress {
pub done: u32,
pub total: u32,
}Expand description
Snapshot of server-side conversion progress for a content hash (#1151).
Returned by crate::sub::documents::DocumentsClient::progress.
Mirrors the TS IngestProgress and Python IngestProgress types.
Fields§
§done: u32Pages already converted.
total: u32Total pages in the document.
Trait Implementations§
Source§impl Clone for IngestProgress
impl Clone for IngestProgress
Source§fn clone(&self) -> IngestProgress
fn clone(&self) -> IngestProgress
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 IngestProgress
impl Debug for IngestProgress
Source§impl<'de> Deserialize<'de> for IngestProgress
impl<'de> Deserialize<'de> for IngestProgress
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 IngestProgress
impl RefUnwindSafe for IngestProgress
impl Send for IngestProgress
impl Sync for IngestProgress
impl Unpin for IngestProgress
impl UnsafeUnpin for IngestProgress
impl UnwindSafe for IngestProgress
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