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 PartialOrd for IonType
impl PartialOrd for IonType
Source§impl TryFrom<IonTypeCode> for IonType
impl TryFrom<IonTypeCode> for IonType
impl Copy for IonType
impl Eq for IonType
impl StructuralPartialEq for IonType
Auto Trait Implementations§
impl Freeze for IonType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<V> IntoAnnotatedElement for V
impl<V> IntoAnnotatedElement for V
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.