Enum typedb::Value
[−]
[src]
pub enum Value { String(String), Int(i32), Float(f32), Map(HashMap<String, Value>), List(Vec<Value>), }
A default value type to use with KV
Variants
String(String)
Cab default Value type for strings
Int(i32)
Cab default Value type for intergers
Float(f32)
Cab default Value type for floats
Map(HashMap<String, Value>)
Cab default Value type for a sub map
List(Vec<Value>)
Cab default Value type for list
Trait Implementations
impl Clone for Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=
.