pub enum Builtin {
Show 45 variants
AnySimpleType,
String,
NormalizedString,
Token,
Language,
Name,
NcName,
Id,
Decimal,
Integer,
Boolean,
Date,
DateTime,
Time,
Base64Binary,
AnyUri,
IdRef,
Entity,
NmToken,
NonPositiveInteger,
NegativeInteger,
Long,
Int,
Short,
Byte,
NonNegativeInteger,
UnsignedLong,
UnsignedInt,
UnsignedShort,
UnsignedByte,
PositiveInteger,
Float,
Double,
Duration,
GYearMonth,
GYear,
GMonthDay,
GDay,
GMonth,
HexBinary,
QName,
Notation,
NmTokens,
IdRefs,
Entities,
}Expand description
A built-in simple type this crate implements.
Variants§
AnySimpleType
xs:anySimpleType: any string.
String
xs:string.
NormalizedString
xs:normalizedString.
Token
xs:token.
Language
xs:language.
Name
xs:Name.
NcName
xs:NCName.
Id
xs:ID: an NCName, unique within the document when it types an attribute.
Decimal
xs:decimal, any number of digits.
Integer
xs:integer, any number of digits.
Boolean
xs:boolean.
Date
xs:date.
DateTime
xs:dateTime.
Time
xs:time.
Base64Binary
xs:base64Binary.
AnyUri
xs:anyURI.
IdRef
xs:IDREF: an NCName, which must be the value of an xs:ID of the document.
Entity
xs:ENTITY: an NCName, which must be the name of an unparsed entity of the
document type declaration.
NmToken
xs:NMTOKEN.
NonPositiveInteger
xs:nonPositiveInteger.
NegativeInteger
xs:negativeInteger.
Long
xs:long: from -2^63 to 2^63 - 1.
Int
xs:int: from -2^31 to 2^31 - 1.
Short
xs:short: from -2^15 to 2^15 - 1.
Byte
xs:byte: from -128 to 127.
NonNegativeInteger
xs:nonNegativeInteger.
UnsignedLong
xs:unsignedLong: from 0 to 2^64 - 1.
UnsignedInt
xs:unsignedInt: from 0 to 2^32 - 1.
UnsignedShort
xs:unsignedShort: from 0 to 65535.
UnsignedByte
xs:unsignedByte: from 0 to 255.
PositiveInteger
xs:positiveInteger.
Float
xs:float.
Double
xs:double.
Duration
xs:duration.
GYearMonth
xs:gYearMonth.
GYear
xs:gYear.
GMonthDay
xs:gMonthDay.
GDay
xs:gDay.
GMonth
xs:gMonth.
HexBinary
xs:hexBinary.
QName
xs:QName: its prefix, if any, must be declared where the value is.
Notation
xs:NOTATION: a QName naming a notation declared in the schema.
NmTokens
xs:NMTOKENS: a list of one or more NMTOKEN.
IdRefs
xs:IDREFS: a list of one or more IDREF.
Entities
xs:ENTITIES: a list of one or more ENTITY.