pub struct HealingSettings {
pub enabled: bool,
pub parser_config: ParserConfig,
pub coercion_config: CoercionConfig,
}Expand description
Healing settings for JSON parsing and coercion.
Fields§
§enabled: boolEnable healing APIs.
parser_config: ParserConfigParser configuration for JSON-ish parsing.
coercion_config: CoercionConfigCoercion configuration for schema alignment.
Implementations§
Source§impl HealingSettings
impl HealingSettings
Sourcepub fn with_parser_config(self, config: ParserConfig) -> Self
pub fn with_parser_config(self, config: ParserConfig) -> Self
Override parser configuration.
Sourcepub fn with_coercion_config(self, config: CoercionConfig) -> Self
pub fn with_coercion_config(self, config: CoercionConfig) -> Self
Override coercion configuration.
Trait Implementations§
Source§impl Clone for HealingSettings
impl Clone for HealingSettings
Source§fn clone(&self) -> HealingSettings
fn clone(&self) -> HealingSettings
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 HealingSettings
impl Debug for HealingSettings
Auto Trait Implementations§
impl Freeze for HealingSettings
impl RefUnwindSafe for HealingSettings
impl Send for HealingSettings
impl Sync for HealingSettings
impl Unpin for HealingSettings
impl UnsafeUnpin for HealingSettings
impl UnwindSafe for HealingSettings
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