pub enum ValueRef<'a> {
Show 32 variants
String(&'a str),
Boolean(Boolean),
Decimal(&'a Decimal),
Integer(&'a Integer),
NonPositiveInteger(&'a NonPositiveInteger),
NegativeInteger(&'a NegativeInteger),
Long(Long),
Int(Int),
Short(Short),
Byte(Byte),
NonNegativeInteger(&'a NonNegativeInteger),
UnsignedLong(UnsignedLong),
UnsignedInt(UnsignedInt),
UnsignedShort(UnsignedShort),
UnsignedByte(UnsignedByte),
PositiveInteger(&'a PositiveInteger),
Float(Float),
Double(Double),
Duration(Duration),
DateTime(DateTime),
Time(Time),
Date(Date),
GYearMonth(GYearMonth),
GYear(GYear),
GMonthDay(GMonthDay),
GDay(GDay),
GMonth(GMonth),
HexBinary(&'a HexBinary),
Base64Binary(&'a Base64Binary),
AnyUri(&'a AnyUri),
QName(&'a QName),
Notation(&'a Notation),
}Expand description
XSD datatype value.
Variants§
String(&'a str)
Boolean(Boolean)
Decimal(&'a Decimal)
Integer(&'a Integer)
NonPositiveInteger(&'a NonPositiveInteger)
NegativeInteger(&'a NegativeInteger)
Long(Long)
Int(Int)
Short(Short)
Byte(Byte)
NonNegativeInteger(&'a NonNegativeInteger)
UnsignedLong(UnsignedLong)
UnsignedInt(UnsignedInt)
UnsignedShort(UnsignedShort)
UnsignedByte(UnsignedByte)
PositiveInteger(&'a PositiveInteger)
Float(Float)
Double(Double)
Duration(Duration)
DateTime(DateTime)
Time(Time)
Date(Date)
GYearMonth(GYearMonth)
GYear(GYear)
GMonthDay(GMonthDay)
GDay(GDay)
GMonth(GMonth)
HexBinary(&'a HexBinary)
Base64Binary(&'a Base64Binary)
AnyUri(&'a AnyUri)
QName(&'a QName)
Notation(&'a Notation)
Implementations§
Trait Implementations§
source§impl<'a> XsdDatatype for ValueRef<'a>
impl<'a> XsdDatatype for ValueRef<'a>
impl<'a> Copy for ValueRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ValueRef<'a>
impl<'a> !Send for ValueRef<'a>
impl<'a> !Sync for ValueRef<'a>
impl<'a> Unpin for ValueRef<'a>
impl<'a> UnwindSafe for ValueRef<'a>
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