pub enum Datatype {
Show 19 variants
String(Option<StringDatatype>),
Boolean,
Decimal(Option<DecimalDatatype>),
Float,
Double,
Duration(Option<DurationDatatype>),
DateTime(Option<DateTimeDatatype>),
Time,
Date,
GYearMonth,
GYear,
GMonthDay,
GDay,
GMonth,
HexBinary,
Base64Binary,
AnyUri,
QName,
Notation,
}Expand description
XSD datatype.
Variants§
String(Option<StringDatatype>)
Boolean
Decimal(Option<DecimalDatatype>)
Float
Double
Duration(Option<DurationDatatype>)
DateTime(Option<DateTimeDatatype>)
Time
Date
GYearMonth
GYear
GMonthDay
GDay
GMonth
HexBinary
Base64Binary
AnyUri
QName
Notation
Trait Implementations§
source§impl From<DateTimeDatatype> for Datatype
impl From<DateTimeDatatype> for Datatype
source§fn from(ty: DateTimeDatatype) -> Self
fn from(ty: DateTimeDatatype) -> Self
Converts to this type from the input type.
source§impl From<DecimalDatatype> for Datatype
impl From<DecimalDatatype> for Datatype
source§fn from(ty: DecimalDatatype) -> Self
fn from(ty: DecimalDatatype) -> Self
Converts to this type from the input type.
source§impl From<DurationDatatype> for Datatype
impl From<DurationDatatype> for Datatype
source§fn from(ty: DurationDatatype) -> Self
fn from(ty: DurationDatatype) -> Self
Converts to this type from the input type.
source§impl From<IntDatatype> for Datatype
impl From<IntDatatype> for Datatype
source§fn from(ty: IntDatatype) -> Self
fn from(ty: IntDatatype) -> Self
Converts to this type from the input type.
source§impl From<IntegerDatatype> for Datatype
impl From<IntegerDatatype> for Datatype
source§fn from(ty: IntegerDatatype) -> Self
fn from(ty: IntegerDatatype) -> Self
Converts to this type from the input type.
source§impl From<LongDatatype> for Datatype
impl From<LongDatatype> for Datatype
source§fn from(ty: LongDatatype) -> Self
fn from(ty: LongDatatype) -> Self
Converts to this type from the input type.
source§impl From<NonNegativeIntegerDatatype> for Datatype
impl From<NonNegativeIntegerDatatype> for Datatype
source§fn from(ty: NonNegativeIntegerDatatype) -> Self
fn from(ty: NonNegativeIntegerDatatype) -> Self
Converts to this type from the input type.
source§impl From<NonPositiveIntegerDatatype> for Datatype
impl From<NonPositiveIntegerDatatype> for Datatype
source§fn from(ty: NonPositiveIntegerDatatype) -> Self
fn from(ty: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
source§impl From<Option<DateTimeDatatype>> for Datatype
impl From<Option<DateTimeDatatype>> for Datatype
source§fn from(input_opt: Option<DateTimeDatatype>) -> Self
fn from(input_opt: Option<DateTimeDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<DecimalDatatype>> for Datatype
impl From<Option<DecimalDatatype>> for Datatype
source§fn from(input_opt: Option<DecimalDatatype>) -> Self
fn from(input_opt: Option<DecimalDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<DurationDatatype>> for Datatype
impl From<Option<DurationDatatype>> for Datatype
source§fn from(input_opt: Option<DurationDatatype>) -> Self
fn from(input_opt: Option<DurationDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<IntDatatype>> for Datatype
impl From<Option<IntDatatype>> for Datatype
source§fn from(input_opt: Option<IntDatatype>) -> Self
fn from(input_opt: Option<IntDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<IntegerDatatype>> for Datatype
impl From<Option<IntegerDatatype>> for Datatype
source§fn from(input_opt: Option<IntegerDatatype>) -> Self
fn from(input_opt: Option<IntegerDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<LongDatatype>> for Datatype
impl From<Option<LongDatatype>> for Datatype
source§fn from(input_opt: Option<LongDatatype>) -> Self
fn from(input_opt: Option<LongDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<NonNegativeIntegerDatatype>> for Datatype
impl From<Option<NonNegativeIntegerDatatype>> for Datatype
source§fn from(input_opt: Option<NonNegativeIntegerDatatype>) -> Self
fn from(input_opt: Option<NonNegativeIntegerDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<NonPositiveIntegerDatatype>> for Datatype
impl From<Option<NonPositiveIntegerDatatype>> for Datatype
source§fn from(input_opt: Option<NonPositiveIntegerDatatype>) -> Self
fn from(input_opt: Option<NonPositiveIntegerDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<ShortDatatype>> for Datatype
impl From<Option<ShortDatatype>> for Datatype
source§fn from(input_opt: Option<ShortDatatype>) -> Self
fn from(input_opt: Option<ShortDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<StringDatatype>> for Datatype
impl From<Option<StringDatatype>> for Datatype
source§fn from(input_opt: Option<StringDatatype>) -> Self
fn from(input_opt: Option<StringDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<UnsignedIntDatatype>> for Datatype
impl From<Option<UnsignedIntDatatype>> for Datatype
source§fn from(input_opt: Option<UnsignedIntDatatype>) -> Self
fn from(input_opt: Option<UnsignedIntDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<UnsignedLongDatatype>> for Datatype
impl From<Option<UnsignedLongDatatype>> for Datatype
source§fn from(input_opt: Option<UnsignedLongDatatype>) -> Self
fn from(input_opt: Option<UnsignedLongDatatype>) -> Self
Converts to this type from the input type.
source§impl From<Option<UnsignedShortDatatype>> for Datatype
impl From<Option<UnsignedShortDatatype>> for Datatype
source§fn from(input_opt: Option<UnsignedShortDatatype>) -> Self
fn from(input_opt: Option<UnsignedShortDatatype>) -> Self
Converts to this type from the input type.
source§impl From<ShortDatatype> for Datatype
impl From<ShortDatatype> for Datatype
source§fn from(ty: ShortDatatype) -> Self
fn from(ty: ShortDatatype) -> Self
Converts to this type from the input type.
source§impl From<StringDatatype> for Datatype
impl From<StringDatatype> for Datatype
source§fn from(ty: StringDatatype) -> Self
fn from(ty: StringDatatype) -> Self
Converts to this type from the input type.
source§impl From<UnsignedIntDatatype> for Datatype
impl From<UnsignedIntDatatype> for Datatype
source§fn from(ty: UnsignedIntDatatype) -> Self
fn from(ty: UnsignedIntDatatype) -> Self
Converts to this type from the input type.
source§impl From<UnsignedLongDatatype> for Datatype
impl From<UnsignedLongDatatype> for Datatype
source§fn from(ty: UnsignedLongDatatype) -> Self
fn from(ty: UnsignedLongDatatype) -> Self
Converts to this type from the input type.
source§impl From<UnsignedShortDatatype> for Datatype
impl From<UnsignedShortDatatype> for Datatype
source§fn from(ty: UnsignedShortDatatype) -> Self
fn from(ty: UnsignedShortDatatype) -> Self
Converts to this type from the input type.