pub enum ValueKind {
Null,
Bool,
Int,
Float,
Str,
List,
Map,
Ref,
Bytes,
}Expand description
Which of a Value’s cases a value is — what messages name
("a string", "a list") when they say what was found.
Variants§
Null
Null.
Bool
A bool.
Int
An integer.
Float
A float.
Str
A string.
List
A list.
Map
A map.
Ref
A reference.
Bytes
Bytes.
Trait Implementations§
impl Copy for ValueKind
impl Eq for ValueKind
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnsafeUnpin for ValueKind
impl UnwindSafe for ValueKind
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