pub enum ContentProcessing {
Strict,
Lax,
Skip,
}Expand description
Content processing mode for wildcard-matched elements/attributes
Variants§
Strict
Must be validated against the schema; error if no declaration found
Lax
Validate if declaration found; skip if not
Skip
Do not validate content
Trait Implementations§
Source§impl Clone for ContentProcessing
impl Clone for ContentProcessing
Source§fn clone(&self) -> ContentProcessing
fn clone(&self) -> ContentProcessing
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 ContentProcessing
Source§impl Debug for ContentProcessing
impl Debug for ContentProcessing
Source§impl Default for ContentProcessing
impl Default for ContentProcessing
Source§fn default() -> ContentProcessing
fn default() -> ContentProcessing
Returns the “default value” for a type. Read more
impl Eq for ContentProcessing
Source§impl PartialEq for ContentProcessing
impl PartialEq for ContentProcessing
Source§fn eq(&self, other: &ContentProcessing) -> bool
fn eq(&self, other: &ContentProcessing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentProcessing
Auto Trait Implementations§
impl Freeze for ContentProcessing
impl RefUnwindSafe for ContentProcessing
impl Send for ContentProcessing
impl Sync for ContentProcessing
impl Unpin for ContentProcessing
impl UnsafeUnpin for ContentProcessing
impl UnwindSafe for ContentProcessing
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