Enum wild_doc_script::WildDocValue
source · pub enum WildDocValue {
Null,
Bool(bool),
Number(Number),
String(String),
Array(Vec<WildDocValue>),
Object(IndexMap<String, WildDocValue>),
Binary(Vec<u8>),
}
Variants§
Null
Bool(bool)
Number(Number)
String(String)
Array(Vec<WildDocValue>)
Object(IndexMap<String, WildDocValue>)
Binary(Vec<u8>)
Implementations§
Trait Implementations§
source§impl Clone for WildDocValue
impl Clone for WildDocValue
source§fn clone(&self) -> WildDocValue
fn clone(&self) -> WildDocValue
Returns a copy 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 WildDocValue
impl Debug for WildDocValue
source§impl Display for WildDocValue
impl Display for WildDocValue
source§impl From<Number> for WildDocValue
impl From<Number> for WildDocValue
source§impl From<Value> for WildDocValue
impl From<Value> for WildDocValue
source§impl PartialEq for WildDocValue
impl PartialEq for WildDocValue
source§fn eq(&self, other: &WildDocValue) -> bool
fn eq(&self, other: &WildDocValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WildDocValue
impl Serialize for WildDocValue
impl StructuralPartialEq for WildDocValue
Auto Trait Implementations§
impl RefUnwindSafe for WildDocValue
impl Send for WildDocValue
impl Sync for WildDocValue
impl Unpin for WildDocValue
impl UnwindSafe for WildDocValue
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