pub enum RuleType {
Show 15 variants
ElementPresence,
AttributePresence,
AttributeValue,
ElementOrder,
TextContent,
ElementContent,
WhiteSpace,
Nesting,
Semantics,
Compound,
Custom(String),
DocumentStructure,
ElementCount,
ElementCase,
AttributeQuotes,
}
Variants§
ElementPresence
AttributePresence
AttributeValue
ElementOrder
TextContent
ElementContent
WhiteSpace
Nesting
Semantics
Compound
Custom(String)
DocumentStructure
ElementCount
ElementCase
AttributeQuotes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleType
impl<'de> Deserialize<'de> for RuleType
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 RuleType
impl RefUnwindSafe for RuleType
impl Send for RuleType
impl Sync for RuleType
impl Unpin for RuleType
impl UnwindSafe for RuleType
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