pub enum Value {
}
Expand description
Variants for all values within an Element
.
Variants§
Null(IonType)
Bool(bool)
Int(Int)
Float(f64)
Decimal(Decimal)
Timestamp(Timestamp)
Symbol(Symbol)
String(Str)
Clob(Bytes)
Blob(Bytes)
List(Sequence)
SExp(Sequence)
Struct(Struct)
Implementations§
Trait Implementations§
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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.