pub struct ReflectionConfig {
pub max_retries: u32,
pub enable_search_match: bool,
pub enable_shape_linting: bool,
pub enable_dry_run: bool,
pub required_patterns: Vec<QueryPattern>,
pub extra_policies: Vec<Policy>,
}Expand description
Configuration for the reflection loop.
Fields§
§max_retries: u32Maximum number of retry attempts.
enable_search_match: boolWhether to run Stage 1 (search match).
enable_shape_linting: boolWhether to run Stage 2 (semantic shape linting).
enable_dry_run: boolWhether to run Stage 3 (dry-run state injection).
required_patterns: Vec<QueryPattern>Required query patterns that must be present in the generated code.
extra_policies: Vec<Policy>Additional policies to enforce beyond the built-in ones.
Trait Implementations§
Source§impl Clone for ReflectionConfig
impl Clone for ReflectionConfig
Source§impl Debug for ReflectionConfig
impl Debug for ReflectionConfig
Auto Trait Implementations§
impl Freeze for ReflectionConfig
impl RefUnwindSafe for ReflectionConfig
impl Send for ReflectionConfig
impl Sync for ReflectionConfig
impl Unpin for ReflectionConfig
impl UnsafeUnpin for ReflectionConfig
impl UnwindSafe for ReflectionConfig
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