pub struct SimpleContentDefResult {
pub base_type: Option<TypeRefResult>,
pub content_type: Option<Box<SimpleTypeResult>>,
pub derivation: DerivationMethod,
pub facets: FacetSet,
pub attributes: Vec<AttributeUseResult>,
pub attribute_groups: Vec<QNameRef>,
pub attribute_wildcard: Option<WildcardResult>,
pub assertions: Vec<AssertResult>,
pub id: Option<String>,
pub derivation_id: Option<String>,
pub source: Option<SourceRef>,
}Expand description
Simple content definition result
Fields§
§base_type: Option<TypeRefResult>§content_type: Option<Box<SimpleTypeResult>>Inline simpleType from simpleContent/restriction (B in spec 3.4.2.2 clause 1.1). When present alongside base_type, the base_type names the complex type being restricted and this field holds the content type restriction.
derivation: DerivationMethod§facets: FacetSet§attributes: Vec<AttributeUseResult>§attribute_groups: Vec<QNameRef>§attribute_wildcard: Option<WildcardResult>§assertions: Vec<AssertResult>§id: Option<String>§derivation_id: Option<String>§source: Option<SourceRef>Trait Implementations§
Source§impl Clone for SimpleContentDefResult
impl Clone for SimpleContentDefResult
Source§fn clone(&self) -> SimpleContentDefResult
fn clone(&self) -> SimpleContentDefResult
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 moreAuto Trait Implementations§
impl Freeze for SimpleContentDefResult
impl RefUnwindSafe for SimpleContentDefResult
impl Send for SimpleContentDefResult
impl Sync for SimpleContentDefResult
impl Unpin for SimpleContentDefResult
impl UnsafeUnpin for SimpleContentDefResult
impl UnwindSafe for SimpleContentDefResult
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