Skip to main content

IngestReport

Struct IngestReport 

Source
pub struct IngestReport {
Show 18 fields pub format: DocumentFormat, pub field: FieldId, pub root_node: NodeId, pub index_root: Option<NodeId>, pub node_count: u64, pub index_node_count: u64, pub source_len: u64, pub object_nodes: u64, pub stream_nodes: u64, pub decoded_stream_nodes: u64, pub page_nodes: u64, pub revision_nodes: u64, pub declined_streams: u64, pub resource_blob_nodes: u64, pub shared_resource_ids: u64, pub shared_resource_bytes: u64, pub nodes_id_shared: u64, pub seed_bytes_written: u64,
}
Expand description

What one ingest recovered.

Fields§

§format: DocumentFormat

The detected document format (byte-based, Phase 12.7).

§field: FieldId

The (richest) field id, whose manifest binds the recovered index.

§root_node: NodeId

The exact DocumentExact root node id.

§index_root: Option<NodeId>

The hierarchical index root, or None when no index was built.

§node_count: u64

Seed nodes in the manifest closure at ingest time (root + Stage-B nodes).

§index_node_count: u64

Number of index nodes in the built tree.

§source_len: u64

Exact reconstructed source length.

§object_nodes: u64

Exact per-object nodes created.

§stream_nodes: u64

Encoded stream nodes created.

§decoded_stream_nodes: u64

Decoded stream nodes created.

§page_nodes: u64

Page content nodes created.

§revision_nodes: u64

Revision nodes created.

§declined_streams: u64

Lone-FlateDecode streams we refused to inflate.

§resource_blob_nodes: u64

Content-addressed shared-resource blobs registered. Always 0: the Phase-11 PDF adapter does not extract embedded images/fonts as resource blobs, so a PDF shares no resource with any other document in Phase 12 (a recorded limitation, not a failure). Package formats (DOCX/EPUB) do.

§shared_resource_ids: u64

Resource blobs shared with an earlier document. Always 0 for PDF (see Self::resource_blob_nodes).

§shared_resource_bytes: u64

Resource bytes not rewritten because they were already present. Always 0 for PDF (see Self::resource_blob_nodes).

§nodes_id_shared: u64

Seed nodes whose content id already existed (nothing new written).

§seed_bytes_written: u64

Seed-node canonical bytes physically written by this ingest.

Trait Implementations§

Source§

impl Clone for IngestReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IngestReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for IngestReport

Source§

impl PartialEq for IngestReport

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for IngestReport

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.