pub enum DynamicValueTag {
Null,
Bool,
I64,
U64,
F64,
String,
Bytes,
Array,
Object,
DateTime,
}Expand description
Tag describing the concrete payload type for a dynamic value.
Variants§
Null
Null value.
Bool
Boolean value.
I64
Signed 64-bit integer.
U64
Unsigned 64-bit integer.
F64
64-bit float.
String
UTF-8 string.
Bytes
Raw bytes.
Array
Sequence/array.
Object
Object/map.
DateTime
Date/time value (encoded as string for tagged formats).
Trait Implementations§
Source§impl Clone for DynamicValueTag
impl Clone for DynamicValueTag
Source§fn clone(&self) -> DynamicValueTag
fn clone(&self) -> DynamicValueTag
Returns a duplicate 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 DynamicValueTag
impl Debug for DynamicValueTag
Source§impl PartialEq for DynamicValueTag
impl PartialEq for DynamicValueTag
impl Copy for DynamicValueTag
impl Eq for DynamicValueTag
impl StructuralPartialEq for DynamicValueTag
Auto Trait Implementations§
impl Freeze for DynamicValueTag
impl RefUnwindSafe for DynamicValueTag
impl Send for DynamicValueTag
impl Sync for DynamicValueTag
impl Unpin for DynamicValueTag
impl UnwindSafe for DynamicValueTag
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