pub enum DetailLevel {
Standard,
Detailed,
}Expand description
Controls the level of detail in validation output.
Variants§
Standard
Flattened diagnostics without violation context.
Detailed
Includes violation context with actual values, constraints, and resolution sources.
Implementations§
Source§impl DetailLevel
impl DetailLevel
Sourcepub fn needs_enrichment(&self) -> bool
pub fn needs_enrichment(&self) -> bool
Whether diagnostics should be enriched with metadata (section, phase, category).
Sourcepub fn needs_context(&self) -> bool
pub fn needs_context(&self) -> bool
Whether this detail level requires violation context to be populated.
Trait Implementations§
Source§impl Clone for DetailLevel
impl Clone for DetailLevel
Source§fn clone(&self) -> DetailLevel
fn clone(&self) -> DetailLevel
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 moreSource§impl Debug for DetailLevel
impl Debug for DetailLevel
Source§impl Default for DetailLevel
impl Default for DetailLevel
Source§fn default() -> DetailLevel
fn default() -> DetailLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetailLevel
impl<'de> Deserialize<'de> for DetailLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DetailLevel
impl PartialEq for DetailLevel
Source§impl Serialize for DetailLevel
impl Serialize for DetailLevel
impl StructuralPartialEq for DetailLevel
Auto Trait Implementations§
impl Freeze for DetailLevel
impl RefUnwindSafe for DetailLevel
impl Send for DetailLevel
impl Sync for DetailLevel
impl Unpin for DetailLevel
impl UnsafeUnpin for DetailLevel
impl UnwindSafe for DetailLevel
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