pub struct OutputValidationConfig {
pub strict_output_validation: bool,
}Expand description
Output validation configuration
Fields§
§strict_output_validation: boolIf true, fail spec when output doesn’t match schema; if false, warn only
Trait Implementations§
Source§impl Clone for OutputValidationConfig
impl Clone for OutputValidationConfig
Source§fn clone(&self) -> OutputValidationConfig
fn clone(&self) -> OutputValidationConfig
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 OutputValidationConfig
impl Debug for OutputValidationConfig
Source§impl Default for OutputValidationConfig
impl Default for OutputValidationConfig
Source§fn default() -> OutputValidationConfig
fn default() -> OutputValidationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputValidationConfig
impl<'de> Deserialize<'de> for OutputValidationConfig
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
Auto Trait Implementations§
impl Freeze for OutputValidationConfig
impl RefUnwindSafe for OutputValidationConfig
impl Send for OutputValidationConfig
impl Sync for OutputValidationConfig
impl Unpin for OutputValidationConfig
impl UnwindSafe for OutputValidationConfig
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