pub struct SectionPattern {
pub section_type: SectionType,
pub patterns: Vec<String>,
pub context_requirements: Vec<ContextRequirement>,
pub confidence: f32,
}Expand description
Section detection patterns
Fields§
§section_type: SectionTypeSection type
patterns: Vec<String>Detection patterns
context_requirements: Vec<ContextRequirement>Context requirements
confidence: f32Confidence score
Trait Implementations§
Source§impl Clone for SectionPattern
impl Clone for SectionPattern
Source§fn clone(&self) -> SectionPattern
fn clone(&self) -> SectionPattern
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 moreAuto Trait Implementations§
impl Freeze for SectionPattern
impl RefUnwindSafe for SectionPattern
impl Send for SectionPattern
impl Sync for SectionPattern
impl Unpin for SectionPattern
impl UnwindSafe for SectionPattern
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