pub enum GraphValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
Timestamp(DateTime<FixedOffset>),
Date(String),
Base64(String),
Duration(String),
List(Vec<GraphValue>),
Map(HashMap<String, GraphValue>),
Tagged(TaggedValue),
}Expand description
A value returned from a Cypher query, encoded as JSON per Neo4j HTTP API spec.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
Timestamp(DateTime<FixedOffset>)
Date(String)
Base64(String)
Duration(String)
List(Vec<GraphValue>)
Map(HashMap<String, GraphValue>)
Tagged(TaggedValue)
Trait Implementations§
Source§impl Clone for GraphValue
impl Clone for GraphValue
Source§impl Debug for GraphValue
impl Debug for GraphValue
Source§impl<'de> Deserialize<'de> for GraphValue
impl<'de> Deserialize<'de> for GraphValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphValue
impl PartialEq for GraphValue
Source§impl Serialize for GraphValue
impl Serialize for GraphValue
impl StructuralPartialEq for GraphValue
Auto Trait Implementations§
impl Forget for GraphValue
impl Freeze for GraphValue
impl Move for GraphValue
impl RefUnwindSafe for GraphValue
impl Send for GraphValue
impl Sync for GraphValue
impl Unpin for GraphValue
impl UnsafeUnpin for GraphValue
impl UnwindSafe for GraphValue
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