pub enum SanitizationLevel {
Minimal,
Normal,
Aggressive,
}Variants§
Minimal
Only whitespace normalization and basic trimming
Normal
Quote/escape repair and whitespace normalization
Aggressive
Aggressive best-effort repair for LLM outputs
Trait Implementations§
Source§impl Clone for SanitizationLevel
impl Clone for SanitizationLevel
Source§fn clone(&self) -> SanitizationLevel
fn clone(&self) -> SanitizationLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SanitizationLevel
Source§impl Debug for SanitizationLevel
impl Debug for SanitizationLevel
impl Eq for SanitizationLevel
Source§impl PartialEq for SanitizationLevel
impl PartialEq for SanitizationLevel
Source§fn eq(&self, other: &SanitizationLevel) -> bool
fn eq(&self, other: &SanitizationLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SanitizationLevel
Auto Trait Implementations§
impl Freeze for SanitizationLevel
impl RefUnwindSafe for SanitizationLevel
impl Send for SanitizationLevel
impl Sync for SanitizationLevel
impl Unpin for SanitizationLevel
impl UnsafeUnpin for SanitizationLevel
impl UnwindSafe for SanitizationLevel
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