#[non_exhaustive]pub struct ValidationLimits {
pub max_findings: usize,
pub max_title_len: usize,
pub max_detail_len: usize,
pub max_text_len: usize,
pub confidence_min: f64,
pub confidence_max: f64,
}Expand description
Configuration thresholds for agent output validation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_findings: usizeMaximum number of findings per agent output.
max_title_len: usizeMaximum character count for finding titles (Unicode scalar values, not bytes).
max_detail_len: usizeMaximum character count for finding details (Unicode scalar values, not bytes).
max_text_len: usizeMaximum character count for text fields — summary, reasoning, recommendation (Unicode scalar values, not bytes).
confidence_min: f64Minimum valid confidence value, inclusive.
confidence_max: f64Maximum valid confidence value, inclusive.
Trait Implementations§
Source§impl Clone for ValidationLimits
impl Clone for ValidationLimits
Source§fn clone(&self) -> ValidationLimits
fn clone(&self) -> ValidationLimits
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 ValidationLimits
impl Debug for ValidationLimits
Auto Trait Implementations§
impl Freeze for ValidationLimits
impl RefUnwindSafe for ValidationLimits
impl Send for ValidationLimits
impl Sync for ValidationLimits
impl Unpin for ValidationLimits
impl UnsafeUnpin for ValidationLimits
impl UnwindSafe for ValidationLimits
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