pub struct UnionSchema { /* private fields */ }
Implementations§
Source§impl UnionSchema
impl UnionSchema
Sourcepub fn is_nullable(&self) -> bool
pub fn is_nullable(&self) -> bool
Returns true if the first variant of this UnionSchema
is Null
.
Trait Implementations§
Source§impl Clone for UnionSchema
impl Clone for UnionSchema
Source§fn clone(&self) -> UnionSchema
fn clone(&self) -> UnionSchema
Returns a copy 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 UnionSchema
impl Debug for UnionSchema
Source§impl PartialEq for UnionSchema
impl PartialEq for UnionSchema
Auto Trait Implementations§
impl Freeze for UnionSchema
impl RefUnwindSafe for UnionSchema
impl Send for UnionSchema
impl Sync for UnionSchema
impl Unpin for UnionSchema
impl UnwindSafe 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)