pub enum SchemaContent {
Show 13 variants
Include(Include),
Import(Import),
Redefine(Redefine),
Override(Override),
Annotation(Annotation),
DefaultOpenContent(DefaultOpenContent),
SimpleType(SimpleBaseType),
ComplexType(ComplexBaseType),
Group(GroupType),
AttributeGroup(AttributeGroupType),
Element(ElementType),
Attribute(AttributeType),
Notation(Notation),
}Variants§
Include(Include)
Import(Import)
Redefine(Redefine)
Override(Override)
Annotation(Annotation)
DefaultOpenContent(DefaultOpenContent)
SimpleType(SimpleBaseType)
ComplexType(ComplexBaseType)
Group(GroupType)
AttributeGroup(AttributeGroupType)
Element(ElementType)
Attribute(AttributeType)
Notation(Notation)
Trait Implementations§
Source§impl Clone for SchemaContent
impl Clone for SchemaContent
Source§fn clone(&self) -> SchemaContent
fn clone(&self) -> SchemaContent
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 SchemaContent
impl Debug for SchemaContent
Source§impl<'de> Deserializer<'de, SchemaContent> for Box<SchemaContentDeserializer>
impl<'de> Deserializer<'de, SchemaContent> for Box<SchemaContentDeserializer>
Source§fn init(
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, SchemaContent>
fn init( helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, SchemaContent>
Source§fn next(
self,
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, SchemaContent>
fn next( self, helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, SchemaContent>
Source§fn finish(self, helper: &mut DeserializeHelper) -> Result<SchemaContent, Error>
fn finish(self, helper: &mut DeserializeHelper) -> Result<SchemaContent, Error>
Force the deserializer to finish. Read more
Source§impl PartialEq for SchemaContent
impl PartialEq for SchemaContent
Source§impl WithDeserializer for SchemaContent
impl WithDeserializer for SchemaContent
Source§type Deserializer = Box<SchemaContentDeserializer>
type Deserializer = Box<SchemaContentDeserializer>
The deserializer to use for this type.
Source§fn init<'de>(
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> Result<DeserializerOutput<'de, Self>, Error>
fn init<'de>( helper: &mut DeserializeHelper, event: Event<'de>, ) -> Result<DeserializerOutput<'de, Self>, Error>
impl Eq for SchemaContent
impl StructuralPartialEq for SchemaContent
Auto Trait Implementations§
impl Freeze for SchemaContent
impl RefUnwindSafe for SchemaContent
impl Send for SchemaContent
impl Sync for SchemaContent
impl Unpin for SchemaContent
impl UnwindSafe for SchemaContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, R, X> DeserializeSync<'de, R> for Xwhere
R: XmlReaderSync<'de>,
X: WithDeserializer,
impl<'de, R, X> DeserializeSync<'de, R> for Xwhere
R: XmlReaderSync<'de>,
X: WithDeserializer,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.