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 SchemaDeserializer
impl<'de> Deserializer<'de, Schema> for SchemaDeserializer
Source§fn init<R>(reader: &R, event: Event<'de>) -> DeserializerResult<'de, Schema>where
R: DeserializeReader,
fn init<R>(reader: &R, event: Event<'de>) -> DeserializerResult<'de, Schema>where
R: DeserializeReader,
Source§fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Schema>where
R: DeserializeReader,
fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Schema>where
R: DeserializeReader,
Source§impl WithDeserializer for Schema
impl WithDeserializer for Schema
Source§type Deserializer = SchemaDeserializer
type Deserializer = SchemaDeserializer
The deserializer to use for this type.
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