pub struct ChoiceVariant {
pub name: String,
pub type_name: String,
}Expand description
A variant inside a <xs:choice>.
Fields§
§name: StringThe element name used as the variant label.
type_name: StringThe element type name.
Trait Implementations§
Source§impl Clone for ChoiceVariant
impl Clone for ChoiceVariant
Source§fn clone(&self) -> ChoiceVariant
fn clone(&self) -> ChoiceVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChoiceVariant
impl Debug for ChoiceVariant
Source§impl PartialEq for ChoiceVariant
impl PartialEq for ChoiceVariant
impl StructuralPartialEq for ChoiceVariant
Auto Trait Implementations§
impl Freeze for ChoiceVariant
impl RefUnwindSafe for ChoiceVariant
impl Send for ChoiceVariant
impl Sync for ChoiceVariant
impl Unpin for ChoiceVariant
impl UnsafeUnpin for ChoiceVariant
impl UnwindSafe for ChoiceVariant
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