pub struct OpenContent {
pub mode: OpenContentMode,
pub wildcard: Option<WildcardRef>,
pub source: Option<SourceRef>,
}Expand description
XSD 1.1: Open content specification
Runtime matching (interleave + suffix modes) is implemented in validation/content.rs.
Schema-level validation stubs remain in compiler/open_content.rs.
Fields§
§mode: OpenContentModeOpen content mode
wildcard: Option<WildcardRef>Wildcard for open content
source: Option<SourceRef>Source location
Trait Implementations§
Source§impl Clone for OpenContent
impl Clone for OpenContent
Source§fn clone(&self) -> OpenContent
fn clone(&self) -> OpenContent
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 OpenContent
impl RefUnwindSafe for OpenContent
impl Send for OpenContent
impl Sync for OpenContent
impl Unpin for OpenContent
impl UnsafeUnpin for OpenContent
impl UnwindSafe for OpenContent
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