pub enum XsdDatatypeKind {
Show 56 variants
String,
Boolean,
Decimal,
Float,
Double,
Duration,
DateTime,
Time,
Date,
GYearMonth,
GYear,
GMonthDay,
GDay,
GMonth,
HexBinary,
Base64Binary,
AnyURI,
QName,
Notation,
NormalizedString,
Token,
Language,
Nmtoken,
Nmtokens,
Name,
NCName,
Id,
Idref,
Idrefs,
Entity,
Entities,
Integer,
NonPositiveInteger,
NegativeInteger,
Long,
Int,
Short,
Byte,
NonNegativeInteger,
UnsignedLong,
UnsignedInt,
UnsignedShort,
UnsignedByte,
PositiveInteger,
FacetPattern,
FacetEnumeration,
FacetMinInclusive,
FacetMaxInclusive,
FacetMinExclusive,
FacetMaxExclusive,
FacetMinLength,
FacetMaxLength,
FacetLength,
FacetWhiteSpace,
FacetFractionDigits,
FacetTotalDigits,
}Expand description
XSD datatype kinds — covers all built-in types and facets.
§UPSTREAM-PARITY
libxml2 defines these as xmlSchemaTypeType built-in type constants
in include/schemas/internals.h.
Variants§
String
Boolean
Decimal
Float
Double
Duration
DateTime
Time
Date
GYearMonth
GYear
GMonthDay
GDay
GMonth
HexBinary
Base64Binary
AnyURI
QName
Notation
NormalizedString
Token
Language
Nmtoken
Nmtokens
Name
NCName
Id
Idref
Idrefs
Entity
Entities
Integer
NonPositiveInteger
NegativeInteger
Long
Int
Short
Byte
NonNegativeInteger
UnsignedLong
UnsignedInt
UnsignedShort
UnsignedByte
PositiveInteger
FacetPattern
FacetEnumeration
FacetMinInclusive
FacetMaxInclusive
FacetMinExclusive
FacetMaxExclusive
FacetMinLength
FacetMaxLength
FacetLength
FacetWhiteSpace
FacetFractionDigits
FacetTotalDigits
Trait Implementations§
Source§impl Clone for XsdDatatypeKind
impl Clone for XsdDatatypeKind
Source§fn clone(&self) -> XsdDatatypeKind
fn clone(&self) -> XsdDatatypeKind
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 XsdDatatypeKind
Source§impl Debug for XsdDatatypeKind
impl Debug for XsdDatatypeKind
impl Eq for XsdDatatypeKind
Source§impl Hash for XsdDatatypeKind
impl Hash for XsdDatatypeKind
Source§impl PartialEq for XsdDatatypeKind
impl PartialEq for XsdDatatypeKind
impl StructuralPartialEq for XsdDatatypeKind
Auto Trait Implementations§
impl Freeze for XsdDatatypeKind
impl RefUnwindSafe for XsdDatatypeKind
impl Send for XsdDatatypeKind
impl Sync for XsdDatatypeKind
impl Unpin for XsdDatatypeKind
impl UnsafeUnpin for XsdDatatypeKind
impl UnwindSafe for XsdDatatypeKind
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