pub struct UnionType {
pub default_index: Option<usize>,
pub partial: bool,
pub operator: UnionOperator,
pub variants_types: Vec<Box<Schema>>,
}Fields§
§default_index: Option<usize>§partial: bool§operator: UnionOperator§variants_types: Vec<Box<Schema>>Implementations§
Trait Implementations§
impl StructuralPartialEq for UnionType
Auto Trait Implementations§
impl Freeze for UnionType
impl RefUnwindSafe for UnionType
impl Send for UnionType
impl Sync for UnionType
impl Unpin for UnionType
impl UnwindSafe for UnionType
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