pub struct ComplexContentDef {
pub particle: Option<ContentParticle>,
pub derivation: DerivationMethod,
pub mixed: bool,
pub source: Option<SourceRef>,
pub open_content: Option<OpenContent>,
}Expand description
Complex content definition (elements and optionally mixed text)
Fields§
§particle: Option<ContentParticle>Content model particle (sequence, choice, all, group ref)
derivation: DerivationMethodDerivation method
mixed: boolWhether mixed content is allowed
source: Option<SourceRef>Source location
open_content: Option<OpenContent>XSD 1.1: Open content (runtime matching implemented; schema-level validation pending)
Trait Implementations§
Source§impl Clone for ComplexContentDef
impl Clone for ComplexContentDef
Source§fn clone(&self) -> ComplexContentDef
fn clone(&self) -> ComplexContentDef
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 ComplexContentDef
impl RefUnwindSafe for ComplexContentDef
impl Send for ComplexContentDef
impl Sync for ComplexContentDef
impl Unpin for ComplexContentDef
impl UnsafeUnpin for ComplexContentDef
impl UnwindSafe for ComplexContentDef
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