Struct avro_rs::schema::UnionSchema
source · 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 more