Enum warpgrapher::engine::value::Value [−][src]
Intermediate data structure for serialized values, allowing for translation between the values returned by the back-end database (serde_json for Neo4j, and a library-specific seralized format for Cosmos and Gremlin DBs), and the serde_json format used to return data to the client.
Examples
let v = Value::Bool(true);
Variants
Bool(bool)
Float64(f64)
Int64(i64)
String(String)
UInt64(u64)
Uuid(Uuid)
Trait Implementations
impl Clone for Value
[src]
impl Debug for Value
[src]
impl From<HashMap<String, Value, RandomState>> for Value
[src]
impl From<String> for Value
[src]
impl From<Uuid> for Value
[src]
impl From<Vec<Value, Global>> for Value
[src]
impl From<bool> for Value
[src]
impl From<f64> for Value
[src]
impl From<i64> for Value
[src]
impl From<u64> for Value
[src]
impl FromInputValue<DefaultScalarValue> for Value
[src]
fn from_input_value(v: &InputValue) -> Option<Self>
[src]
pub fn from_implicit_null() -> Self
[src]
impl PartialEq<Value> for Value
[src]
impl TryFrom<Value> for Comparison
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Comparison, Error>
[src]
impl TryFrom<Value> for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
[src]
impl Send for Value
[src]
impl Sync for Value
[src]
impl Unpin for Value
[src]
impl UnwindSafe for Value
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,