pub struct UnionSchema {
pub variants: Vec<Box<dyn Schema>>,
}Fields§
§variants: Vec<Box<dyn Schema>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UnionSchema
impl !UnwindSafe for UnionSchema
impl Freeze for UnionSchema
impl Send for UnionSchema
impl Sync for UnionSchema
impl Unpin for UnionSchema
impl UnsafeUnpin for UnionSchema
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