pub struct ExtractionConfig {
pub language: String,
pub patterns: AHashMap<String, ExtractionPattern>,
}Expand description
Configuration for an extraction run against a single language.
Fields§
§language: StringThe language name (e.g., "python").
patterns: AHashMap<String, ExtractionPattern>Named patterns to run. Keys become the keys in ExtractionResult::results.
Trait Implementations§
Source§impl Clone for ExtractionConfig
impl Clone for ExtractionConfig
Source§fn clone(&self) -> ExtractionConfig
fn clone(&self) -> ExtractionConfig
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 ExtractionConfig
impl RefUnwindSafe for ExtractionConfig
impl Send for ExtractionConfig
impl Sync for ExtractionConfig
impl Unpin for ExtractionConfig
impl UnsafeUnpin for ExtractionConfig
impl UnwindSafe for ExtractionConfig
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