pub enum DictionaryValue {
Undefined,
Empty,
Int(i64),
UInt(u64),
String(String),
Bytes(Vec<u8>),
Decimal(i64, i32),
}Expand description
State for a dictionary entry.
Variants§
Undefined
No value has been set.
Empty
Value is explicitly empty/null.
Int(i64)
Integer value.
UInt(u64)
Unsigned integer value.
String(String)
String value.
Bytes(Vec<u8>)
Byte sequence value.
Decimal(i64, i32)
Decimal value (mantissa, exponent).
Implementations§
Source§impl DictionaryValue
impl DictionaryValue
Sourcepub const fn is_undefined(&self) -> bool
pub const fn is_undefined(&self) -> bool
Returns true if the value is undefined.
Trait Implementations§
Source§impl Clone for DictionaryValue
impl Clone for DictionaryValue
Source§fn clone(&self) -> DictionaryValue
fn clone(&self) -> DictionaryValue
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 DictionaryValue
impl Debug for DictionaryValue
Source§impl Default for DictionaryValue
impl Default for DictionaryValue
Source§fn default() -> DictionaryValue
fn default() -> DictionaryValue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DictionaryValue
impl RefUnwindSafe for DictionaryValue
impl Send for DictionaryValue
impl Sync for DictionaryValue
impl Unpin for DictionaryValue
impl UnwindSafe for DictionaryValue
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