pub struct Schema {
pub target_namespace: Option<String>,
pub version: Option<String>,
pub final_default: FullDerivationSetType,
pub block_default: BlockSetType,
pub attribute_form_default: FormChoiceType,
pub element_form_default: FormChoiceType,
pub default_attributes: Option<QName>,
pub xpath_default_namespace: XpathDefaultNamespaceType,
pub id: Option<String>,
pub lang: Option<String>,
pub content: Vec<SchemaContent>,
}Fields§
§target_namespace: Option<String>§version: Option<String>§final_default: FullDerivationSetType§block_default: BlockSetType§attribute_form_default: FormChoiceType§element_form_default: FormChoiceType§default_attributes: Option<QName>§xpath_default_namespace: XpathDefaultNamespaceType§id: Option<String>§lang: Option<String>§content: Vec<SchemaContent>Implementations§
Source§impl Schema
impl Schema
pub fn default_final_default() -> FullDerivationSetType
pub fn default_block_default() -> BlockSetType
pub fn default_attribute_form_default() -> FormChoiceType
pub fn default_element_form_default() -> FormChoiceType
pub fn default_xpath_default_namespace() -> XpathDefaultNamespaceType
Trait Implementations§
Source§impl<'de> Deserializer<'de, Schema> for Box<SchemaDeserializer>
impl<'de> Deserializer<'de, Schema> for Box<SchemaDeserializer>
Source§fn init(
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, Schema>
fn init( helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, Schema>
Source§fn next(
self,
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, Schema>
fn next( self, helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, Schema>
Source§impl WithDeserializer for Schema
impl WithDeserializer for Schema
Source§type Deserializer = Box<SchemaDeserializer>
type Deserializer = Box<SchemaDeserializer>
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 Schema
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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.