pub struct ValidationConfig {
pub checks: Vec<ValidationCheck>,
pub working_directory: String,
pub max_retries: usize,
pub enabled: bool,
pub working_set_files: Vec<String>,
}Expand description
Configuration for validation loop
Fields§
§checks: Vec<ValidationCheck>Checks to run
working_directory: StringWorking directory for validation
max_retries: usizeMaximum validation retry attempts
enabled: boolWhether to run validation (can disable for testing)
working_set_files: Vec<String>Specific files to validate (from working set). If empty, falls back to git diff.
Implementations§
Source§impl ValidationConfig
impl ValidationConfig
Sourcepub fn with_build(self, build_type: impl Into<String>) -> Self
pub fn with_build(self, build_type: impl Into<String>) -> Self
Create config with build validation
Sourcepub fn with_working_set_files(self, files: Vec<String>) -> Self
pub fn with_working_set_files(self, files: Vec<String>) -> Self
Set the working set files to validate (from agent’s working set)
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 UnsafeUnpin 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