pub enum TypeSource {
Declaration,
XsiType,
TypeAlternative,
}Expand description
How the final schema_type was determined
Variants§
Declaration
From the element/attribute declaration’s resolved_type
XsiType
Overridden by xsi:type attribute
TypeAlternative
Selected by Conditional Type Assignment (XSD 1.1)
Trait Implementations§
Source§impl Clone for TypeSource
impl Clone for TypeSource
Source§fn clone(&self) -> TypeSource
fn clone(&self) -> TypeSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TypeSource
Source§impl Debug for TypeSource
impl Debug for TypeSource
impl Eq for TypeSource
Source§impl PartialEq for TypeSource
impl PartialEq for TypeSource
Source§fn eq(&self, other: &TypeSource) -> bool
fn eq(&self, other: &TypeSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeSource
Auto Trait Implementations§
impl Freeze for TypeSource
impl RefUnwindSafe for TypeSource
impl Send for TypeSource
impl Sync for TypeSource
impl Unpin for TypeSource
impl UnsafeUnpin for TypeSource
impl UnwindSafe for TypeSource
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