pub enum IonType {
Show 13 variants
Null,
Bool,
Int,
Float,
Decimal,
Timestamp,
Symbol,
String,
Clob,
Blob,
List,
SExp,
Struct,
}
Expand description
Represents the Ion data type of a given value. To learn more about each data type, read the Ion Data Model section of the spec.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for IonType
impl Ord for IonType
source§impl PartialEq<IonType> for IonType
impl PartialEq<IonType> for IonType
source§impl PartialOrd<IonType> for IonType
impl PartialOrd<IonType> for IonType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<IonTypeCode> for IonType
impl TryFrom<IonTypeCode> for IonType
impl Copy for IonType
impl Eq for IonType
impl StructuralEq for IonType
impl StructuralPartialEq for IonType
Auto Trait Implementations§
impl RefUnwindSafe for IonType
impl Send for IonType
impl Sync for IonType
impl Unpin for IonType
impl UnwindSafe for IonType
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
source§impl<V> IntoAnnotatedElement for Vwhere
V: Into<Value>,
impl<V> IntoAnnotatedElement for Vwhere V: Into<Value>,
source§fn with_annotations<I: IntoAnnotations>(self, annotations: I) -> Element
fn with_annotations<I: IntoAnnotations>(self, annotations: I) -> Element
Converts the value into an Element with the specified annotations.