pub struct TypeAlternative {
pub test: Option<String>,
pub type_def: TypeReference,
pub source: Option<SourceRef>,
}Expand description
XSD 1.1: Type alternative
Fields§
§test: Option<String>XPath test expression
type_def: TypeReferenceType to use when test passes
source: Option<SourceRef>Source location
Trait Implementations§
Source§impl Clone for TypeAlternative
impl Clone for TypeAlternative
Source§fn clone(&self) -> TypeAlternative
fn clone(&self) -> TypeAlternative
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 TypeAlternative
impl RefUnwindSafe for TypeAlternative
impl Send for TypeAlternative
impl Sync for TypeAlternative
impl Unpin for TypeAlternative
impl UnsafeUnpin for TypeAlternative
impl UnwindSafe for TypeAlternative
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