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<IndexMap<String, WildDocValue, RandomState>> for WildDocValue
impl From<IndexMap<String, WildDocValue, RandomState>> for WildDocValue
source§impl From<Number> for WildDocValue
impl From<Number> for WildDocValue
source§impl From<String> for WildDocValue
impl From<String> for WildDocValue
source§impl From<Value> for WildDocValue
impl From<Value> for WildDocValue
source§impl From<Vec<WildDocValue, Global>> for WildDocValue
impl From<Vec<WildDocValue, Global>> for WildDocValue
source§fn from(value: Vec<WildDocValue>) -> Self
fn from(value: Vec<WildDocValue>) -> Self
Converts to this type from the input type.
source§impl From<bool> for WildDocValue
impl From<bool> 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