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 moreSource§impl Debug for ExtractionConfig
impl Debug for ExtractionConfig
Source§impl Default for ExtractionConfig
impl Default for ExtractionConfig
Source§fn default() -> ExtractionConfig
fn default() -> ExtractionConfig
Returns the “default value” for a type. Read more
Auto 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