pub struct ValidationConfig {
pub enable_schema_validation: bool,
pub enable_type_coercion: bool,
pub require_all_fields: bool,
pub save_raw_outputs: bool,
pub raw_outputs_dir: String,
pub quality_threshold: f32,
}
Expand description
Configuration for validation behavior
Fields§
§enable_schema_validation: bool
Whether to enable schema validation
enable_type_coercion: bool
Whether to enable type coercion (e.g., string “25” -> number 25)
require_all_fields: bool
Whether to require all expected fields to be present
save_raw_outputs: bool
Whether to save raw model outputs to files
raw_outputs_dir: String
Directory to save raw outputs (defaults to “./raw_outputs”)
quality_threshold: f32
Quality threshold for extractions (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for ValidationConfig
impl Clone for ValidationConfig
Source§fn clone(&self) -> ValidationConfig
fn clone(&self) -> ValidationConfig
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 ValidationConfig
impl Debug for ValidationConfig
Auto Trait Implementations§
impl Freeze for ValidationConfig
impl RefUnwindSafe for ValidationConfig
impl Send for ValidationConfig
impl Sync for ValidationConfig
impl Unpin for ValidationConfig
impl UnwindSafe for ValidationConfig
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