pub enum Datatype {
Show 18 variants
Boolean,
Float,
Double,
Decimal(DecimalDatatype),
String(StringDatatype),
Duration(DurationDatatype),
DateTime(DateTimeDatatype),
Time,
Date,
GYearMonth,
GYear,
GMonthDay,
GDay,
GMonth,
Base64Binary,
HexBinary,
AnyUri,
QName,
}Expand description
XSD datatype (primitive or not).
Variants§
Boolean
Float
Double
Decimal(DecimalDatatype)
String(StringDatatype)
Duration(DurationDatatype)
DateTime(DateTimeDatatype)
Time
Date
GYearMonth
GYear
GMonthDay
GDay
GMonth
Base64Binary
HexBinary
AnyUri
QName
Implementations§
Trait Implementations§
Source§impl From<DateTimeDatatype> for Datatype
impl From<DateTimeDatatype> for Datatype
Source§fn from(value: DateTimeDatatype) -> Self
fn from(value: DateTimeDatatype) -> Self
Converts to this type from the input type.
Source§impl From<DecimalDatatype> for Datatype
impl From<DecimalDatatype> for Datatype
Source§fn from(value: DecimalDatatype) -> Self
fn from(value: DecimalDatatype) -> Self
Converts to this type from the input type.
Source§impl From<DurationDatatype> for Datatype
impl From<DurationDatatype> for Datatype
Source§fn from(value: DurationDatatype) -> Self
fn from(value: DurationDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntDatatype> for Datatype
impl From<IntDatatype> for Datatype
Source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<IntegerDatatype> for Datatype
impl From<IntegerDatatype> for Datatype
Source§fn from(value: IntegerDatatype) -> Self
fn from(value: IntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<LongDatatype> for Datatype
impl From<LongDatatype> for Datatype
Source§fn from(value: LongDatatype) -> Self
fn from(value: LongDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NCNameDatatype> for Datatype
impl From<NCNameDatatype> for Datatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for Datatype
impl From<NameDatatype> for Datatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonNegativeIntegerDatatype> for Datatype
impl From<NonNegativeIntegerDatatype> for Datatype
Source§fn from(value: NonNegativeIntegerDatatype) -> Self
fn from(value: NonNegativeIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonPositiveIntegerDatatype> for Datatype
impl From<NonPositiveIntegerDatatype> for Datatype
Source§fn from(value: NonPositiveIntegerDatatype) -> Self
fn from(value: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NormalizedStringDatatype> for Datatype
impl From<NormalizedStringDatatype> for Datatype
Source§fn from(value: NormalizedStringDatatype) -> Self
fn from(value: NormalizedStringDatatype) -> Self
Converts to this type from the input type.
Source§impl From<ShortDatatype> for Datatype
impl From<ShortDatatype> for Datatype
Source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
Source§impl From<StringDatatype> for Datatype
impl From<StringDatatype> for Datatype
Source§fn from(value: StringDatatype) -> Self
fn from(value: StringDatatype) -> Self
Converts to this type from the input type.
Source§impl From<TokenDatatype> for Datatype
impl From<TokenDatatype> for Datatype
Source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedIntDatatype> for Datatype
impl From<UnsignedIntDatatype> for Datatype
Source§fn from(value: UnsignedIntDatatype) -> Self
fn from(value: UnsignedIntDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedLongDatatype> for Datatype
impl From<UnsignedLongDatatype> for Datatype
Source§fn from(value: UnsignedLongDatatype) -> Self
fn from(value: UnsignedLongDatatype) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedShortDatatype> for Datatype
impl From<UnsignedShortDatatype> for Datatype
Source§fn from(value: UnsignedShortDatatype) -> Self
fn from(value: UnsignedShortDatatype) -> Self
Converts to this type from the input type.
Source§impl Ord for Datatype
impl Ord for Datatype
Source§impl PartialOrd for Datatype
impl PartialOrd for Datatype
Source§impl TryFrom<Datatype> for DateTimeDatatype
impl TryFrom<Datatype> for DateTimeDatatype
Source§impl TryFrom<Datatype> for DecimalDatatype
impl TryFrom<Datatype> for DecimalDatatype
Source§impl TryFrom<Datatype> for DurationDatatype
impl TryFrom<Datatype> for DurationDatatype
Source§impl TryFrom<Datatype> for IntDatatype
impl TryFrom<Datatype> for IntDatatype
Source§impl TryFrom<Datatype> for IntegerDatatype
impl TryFrom<Datatype> for IntegerDatatype
Source§impl TryFrom<Datatype> for LongDatatype
impl TryFrom<Datatype> for LongDatatype
Source§impl TryFrom<Datatype> for NCNameDatatype
impl TryFrom<Datatype> for NCNameDatatype
Source§impl TryFrom<Datatype> for NameDatatype
impl TryFrom<Datatype> for NameDatatype
Source§impl TryFrom<Datatype> for NonNegativeIntegerDatatype
impl TryFrom<Datatype> for NonNegativeIntegerDatatype
Source§impl TryFrom<Datatype> for NonPositiveIntegerDatatype
impl TryFrom<Datatype> for NonPositiveIntegerDatatype
Source§impl TryFrom<Datatype> for NormalizedStringDatatype
impl TryFrom<Datatype> for NormalizedStringDatatype
Source§impl TryFrom<Datatype> for ShortDatatype
impl TryFrom<Datatype> for ShortDatatype
Source§impl TryFrom<Datatype> for StringDatatype
impl TryFrom<Datatype> for StringDatatype
Source§impl TryFrom<Datatype> for TokenDatatype
impl TryFrom<Datatype> for TokenDatatype
Source§impl TryFrom<Datatype> for UnsignedIntDatatype
impl TryFrom<Datatype> for UnsignedIntDatatype
Source§impl TryFrom<Datatype> for UnsignedLongDatatype
impl TryFrom<Datatype> for UnsignedLongDatatype
Source§impl TryFrom<Datatype> for UnsignedShortDatatype
impl TryFrom<Datatype> for UnsignedShortDatatype
impl Copy for Datatype
impl Eq for Datatype
impl StructuralPartialEq for Datatype
Auto Trait Implementations§
impl Freeze for Datatype
impl RefUnwindSafe for Datatype
impl Send for Datatype
impl Sync for Datatype
impl Unpin for Datatype
impl UnwindSafe for Datatype
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