pub enum SpecialAttributeValue {
XsiType {
type_name: String,
namespace_uri: Option<String>,
resolved_type: Option<String>,
},
SchemaLocation {
locations: IndexMap<String, String>,
},
NoNamespaceSchemaLocation(String),
Nil(bool),
Language {
language: String,
script: Option<String>,
territory: Option<String>,
},
Territory(Vec<String>),
Sequence(u32),
Flag(bool),
}
Expand description
Special attribute values requiring custom handling
Variants§
XsiType
xsi:type with resolved type information
SchemaLocation
Schema location with URI pairs
NoNamespaceSchemaLocation(String)
No namespace schema location
Nil(bool)
Nil indicator
Language
Language with territory code
Territory(Vec<String>)
Territory code list
Sequence(u32)
Sequence number for ordering
Flag(bool)
Boolean flag
Trait Implementations§
Source§impl Clone for SpecialAttributeValue
impl Clone for SpecialAttributeValue
Source§fn clone(&self) -> SpecialAttributeValue
fn clone(&self) -> SpecialAttributeValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpecialAttributeValue
impl Debug for SpecialAttributeValue
Source§impl PartialEq for SpecialAttributeValue
impl PartialEq for SpecialAttributeValue
impl StructuralPartialEq for SpecialAttributeValue
Auto Trait Implementations§
impl Freeze for SpecialAttributeValue
impl RefUnwindSafe for SpecialAttributeValue
impl Send for SpecialAttributeValue
impl Sync for SpecialAttributeValue
impl Unpin for SpecialAttributeValue
impl UnwindSafe for SpecialAttributeValue
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