pub enum ProcessContents {
Strict,
Lax,
Skip,
}Expand description
Process contents directive
Specifies how wildcard content should be validated.
Variants§
Strict
Strictly validate - schema must be available, content must be valid
Lax
Laxly validate - validate if schema available, skip otherwise
Skip
Skip validation entirely
Implementations§
Trait Implementations§
Source§impl Clone for ProcessContents
impl Clone for ProcessContents
Source§fn clone(&self) -> ProcessContents
fn clone(&self) -> ProcessContents
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 ProcessContents
Source§impl Debug for ProcessContents
impl Debug for ProcessContents
Source§impl Default for ProcessContents
impl Default for ProcessContents
Source§fn default() -> ProcessContents
fn default() -> ProcessContents
Returns the “default value” for a type. Read more
impl Eq for ProcessContents
Source§impl FromStr for ProcessContents
impl FromStr for ProcessContents
Source§impl PartialEq for ProcessContents
impl PartialEq for ProcessContents
Source§fn eq(&self, other: &ProcessContents) -> bool
fn eq(&self, other: &ProcessContents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessContents
Auto Trait Implementations§
impl Freeze for ProcessContents
impl RefUnwindSafe for ProcessContents
impl Send for ProcessContents
impl Sync for ProcessContents
impl Unpin for ProcessContents
impl UnsafeUnpin for ProcessContents
impl UnwindSafe for ProcessContents
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