[−][src]Enum ion_binary_rs::IonValue
The structure wrapping all possible return ion values by the IonParser.
Please, pay attention to the Float32, Float 64 (as Ion just defined "float") and the Integer and BigInteger. The parser will return the most adequate Integer type. If you expect small numbers you can get by with Integer alone, but if you don't know, you will need to match both types.
Variants
Null(NullIonValue)
Bool(bool)
Integer(i64)
BigInteger(BigInt)
Float32(f32)
Float64(f64)
Decimal(BigDecimal)
DateTime(DateTime<FixedOffset>)
String(String)
Symbol(String)
Trait Implementations
impl Clone for IonValue
[src]
impl Debug for IonValue
[src]
impl Eq for IonValue
[src]
impl PartialEq<IonValue> for IonValue
[src]
impl StructuralPartialEq for IonValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for IonValue
impl Send for IonValue
impl Sync for IonValue
impl Unpin for IonValue
impl UnwindSafe for IonValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,