pub struct ValidatorConfig {
pub check_duplicate_keys: bool,
pub check_indentation: bool,
pub check_tabs: bool,
pub check_document_markers: bool,
pub check_anchors: bool,
}Expand description
Configuration for the validator
Fields§
§check_duplicate_keys: boolCheck for duplicate keys in mappings
check_indentation: boolCheck indentation rules
check_tabs: boolCheck tab usage restrictions
check_document_markers: boolCheck document marker placement
check_anchors: boolCheck anchor/alias validity
Trait Implementations§
Source§impl Clone for ValidatorConfig
impl Clone for ValidatorConfig
Source§fn clone(&self) -> ValidatorConfig
fn clone(&self) -> ValidatorConfig
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 ValidatorConfig
impl Debug for ValidatorConfig
Auto Trait Implementations§
impl Freeze for ValidatorConfig
impl RefUnwindSafe for ValidatorConfig
impl Send for ValidatorConfig
impl Sync for ValidatorConfig
impl Unpin for ValidatorConfig
impl UnsafeUnpin for ValidatorConfig
impl UnwindSafe for ValidatorConfig
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