pub enum AvroPrimitive {
Null,
Boolean,
Int,
Long,
Float,
Double,
Bytes,
String,
}Expand description
Avro primitive type.
Variants§
Trait Implementations§
Source§impl Clone for AvroPrimitive
impl Clone for AvroPrimitive
Source§fn clone(&self) -> AvroPrimitive
fn clone(&self) -> AvroPrimitive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AvroPrimitive
Source§impl Debug for AvroPrimitive
impl Debug for AvroPrimitive
impl Eq for AvroPrimitive
Source§impl PartialEq for AvroPrimitive
impl PartialEq for AvroPrimitive
Source§fn eq(&self, other: &AvroPrimitive) -> bool
fn eq(&self, other: &AvroPrimitive) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AvroPrimitive
Auto Trait Implementations§
impl Freeze for AvroPrimitive
impl RefUnwindSafe for AvroPrimitive
impl Send for AvroPrimitive
impl Sync for AvroPrimitive
impl Unpin for AvroPrimitive
impl UnsafeUnpin for AvroPrimitive
impl UnwindSafe for AvroPrimitive
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