Enum ion_binary_rs::NullIonValue
source · [−]pub enum NullIonValue {
Show 14 variants
Null,
Bool,
Integer,
Float,
Decimal,
DateTime,
String,
Symbol,
Clob,
Blob,
List,
SExpr,
Struct,
Annotation,
}
Expand description
Instead of wrapping each IonValue in an Option in order to represent the null value, we opted to join all Null values in the IonValue::Null(_) which contains this struct. Here you can check what kind of null you got. We do this because we believe is more ergonomic and simplifies the API handling.
Variants
Null
Bool
Integer
Float
Decimal
DateTime
String
Symbol
Clob
Blob
List
SExpr
Struct
Annotation
Trait Implementations
sourceimpl Clone for NullIonValue
impl Clone for NullIonValue
sourcefn clone(&self) -> NullIonValue
fn clone(&self) -> NullIonValue
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 NullIonValue
impl Debug for NullIonValue
sourceimpl PartialEq<NullIonValue> for NullIonValue
impl PartialEq<NullIonValue> for NullIonValue
impl Eq for NullIonValue
impl StructuralEq for NullIonValue
impl StructuralPartialEq for NullIonValue
Auto Trait Implementations
impl RefUnwindSafe for NullIonValue
impl Send for NullIonValue
impl Sync for NullIonValue
impl Unpin for NullIonValue
impl UnwindSafe for NullIonValue
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