pub struct DocumentAnalysis {
pub font: FontStats,
pub geometry: GeometryStats,
pub page_stats: PageStats,
pub region: RegionStats,
}Expand description
Composite output of the analytics pre-pass. Carries one finalized output per stat kind. Lives in pipeline memory; not serialized into the public graph output (a separate sidecar dump may serialize it for development purposes).
Fields§
§font: FontStats§geometry: GeometryStats§page_stats: PageStats§region: RegionStatsTrait Implementations§
Source§impl Clone for DocumentAnalysis
impl Clone for DocumentAnalysis
Source§fn clone(&self) -> DocumentAnalysis
fn clone(&self) -> DocumentAnalysis
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 DocumentAnalysis
impl Debug for DocumentAnalysis
Source§impl Default for DocumentAnalysis
impl Default for DocumentAnalysis
Source§fn default() -> DocumentAnalysis
fn default() -> DocumentAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentAnalysis
impl<'de> Deserialize<'de> for DocumentAnalysis
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DocumentAnalysis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DocumentAnalysis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DocumentAnalysis
impl Serialize for DocumentAnalysis
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentAnalysis
impl RefUnwindSafe for DocumentAnalysis
impl Send for DocumentAnalysis
impl Sync for DocumentAnalysis
impl Unpin for DocumentAnalysis
impl UnsafeUnpin for DocumentAnalysis
impl UnwindSafe for DocumentAnalysis
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