pub enum Value {
Simple(String),
Restriction(Box<Restriction>),
}Expand description
An ids:idsValue: a literal or an XML Schema restriction.
Variants§
Simple(String)
<simpleValue>, verbatim. An xs:string, so surrounding whitespace
is part of the value.
Restriction(Box<Restriction>)
<xs:restriction>.
Implementations§
Trait Implementations§
Source§impl From<Restriction> for Value
impl From<Restriction> for Value
Source§fn from(restriction: Restriction) -> Value
fn from(restriction: Restriction) -> Value
Converts to this type from the input type.
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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