pub enum RestrictionFacet {
FractionDigits(u32, bool),
TotalDigits(u32, bool),
Length(u32, bool),
MaxLength(u32, bool),
MinLength(u32, bool),
MaxExclusive(u32, bool),
MinExclusive(u32, bool),
MaxInclusive(u32, bool),
MinInclusive(u32, bool),
ExplicitTimezone(ExplicitTimezoneFlag, bool),
Pattern(Vec<String>),
}
Variants§
FractionDigits(u32, bool)
The XML Schema facet xsd:fractionDigits
TotalDigits(u32, bool)
The XML Schema facet xsd:totalDigits
Length(u32, bool)
The XML Schema facet xsd:length
MaxLength(u32, bool)
The XML Schema facet xsd:maxLength
MinLength(u32, bool)
The XML Schema facet xsd:minLength
MaxExclusive(u32, bool)
The XML Schema facet xsd:maxExclusive
MinExclusive(u32, bool)
The XML Schema facet xsd:minExclusive
MaxInclusive(u32, bool)
The XML Schema facet xsd:maxInclusive
MinInclusive(u32, bool)
The XML Schema facet xsd:minInclusive
ExplicitTimezone(ExplicitTimezoneFlag, bool)
The XML Schema facet xsd:explicitTimezone
Pattern(Vec<String>)
The XML Schema facet xsd:pattern
Implementations§
Trait Implementations§
Source§impl Clone for RestrictionFacet
impl Clone for RestrictionFacet
Source§fn clone(&self) -> RestrictionFacet
fn clone(&self) -> RestrictionFacet
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 RestrictionFacet
impl Debug for RestrictionFacet
Source§impl<'de> Deserialize<'de> for RestrictionFacet
impl<'de> Deserialize<'de> for RestrictionFacet
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 RestrictionFacet
impl RefUnwindSafe for RestrictionFacet
impl Send for RestrictionFacet
impl Sync for RestrictionFacet
impl Unpin for RestrictionFacet
impl UnwindSafe for RestrictionFacet
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