pub struct LayoutAnalysisResult {
pub layout: DocumentLayout,
pub confidence: f32,
pub processing_time_ms: u64,
pub metrics: LayoutMetrics,
pub features: LayoutFeatures,
pub warnings: Vec<String>,
}Expand description
Layout analysis result
Fields§
§layout: DocumentLayoutDetected layout
confidence: f32Analysis confidence
processing_time_ms: u64Processing time
metrics: LayoutMetricsLayout metrics
features: LayoutFeaturesDetected features
warnings: Vec<String>Analysis warnings
Trait Implementations§
Source§impl Clone for LayoutAnalysisResult
impl Clone for LayoutAnalysisResult
Source§fn clone(&self) -> LayoutAnalysisResult
fn clone(&self) -> LayoutAnalysisResult
Returns a duplicate of the value. Read more
1.0.0 · 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 LayoutAnalysisResult
impl Debug for LayoutAnalysisResult
Source§impl<'de> Deserialize<'de> for LayoutAnalysisResult
impl<'de> Deserialize<'de> for LayoutAnalysisResult
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 LayoutAnalysisResult
impl RefUnwindSafe for LayoutAnalysisResult
impl Send for LayoutAnalysisResult
impl Sync for LayoutAnalysisResult
impl Unpin for LayoutAnalysisResult
impl UnwindSafe for LayoutAnalysisResult
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