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§
Trait Implementations§
Source§impl Clone for NullIonValue
impl Clone for NullIonValue
Source§fn clone(&self) -> NullIonValue
fn clone(&self) -> NullIonValue
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 NullIonValue
impl Debug for NullIonValue
Source§impl PartialEq for NullIonValue
impl PartialEq for NullIonValue
impl Eq for NullIonValue
impl StructuralPartialEq for NullIonValue
Auto Trait Implementations§
impl Freeze for NullIonValue
impl RefUnwindSafe for NullIonValue
impl Send for NullIonValue
impl Sync for NullIonValue
impl Unpin for NullIonValue
impl UnwindSafe for NullIonValue
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