Struct apache_avro::schema::UnionSchema
source · [−]pub struct UnionSchema { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Clone for UnionSchema
impl Clone for UnionSchema
sourcefn clone(&self) -> UnionSchema
fn clone(&self) -> UnionSchema
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnionSchema
impl Debug for UnionSchema
sourceimpl PartialEq<UnionSchema> for UnionSchema
impl PartialEq<UnionSchema> for UnionSchema
Auto Trait Implementations
impl RefUnwindSafe for UnionSchema
impl Send for UnionSchema
impl Sync for UnionSchema
impl Unpin for UnionSchema
impl UnwindSafe for UnionSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more