pub enum Datatype {
Show 18 variants
Boolean,
Float,
Double,
Decimal(DecimalDatatype),
String(StringDatatype),
Duration,
DateTime,
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
DateTime
Time
Date
GYearMonth
GYear
GMonthDay
GDay
GMonth
Base64Binary
HexBinary
AnyUri
QName
Implementations§
Trait Implementations§
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<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 PartialEq for Datatype
impl PartialEq for Datatype
source§impl PartialOrd for Datatype
impl PartialOrd for Datatype
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<Datatype> for DecimalDatatype
impl TryFrom<Datatype> for DecimalDatatype
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 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