Enum rsmgclient::Value
source · pub enum Value {
Show 15 variants
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
List(Vec<Value>),
Date(NaiveDate),
LocalTime(NaiveTime),
LocalDateTime(NaiveDateTime),
Duration(Duration),
Map(HashMap<String, Value>),
Node(Node),
Relationship(Relationship),
UnboundRelationship(UnboundRelationship),
Path(Path),
}
Expand description
Representation of Bolt value returned by database.
Value is can be any of the types specified by Bolt protocol.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
List(Vec<Value>)
Date(NaiveDate)
LocalTime(NaiveTime)
LocalDateTime(NaiveDateTime)
Duration(Duration)
Map(HashMap<String, Value>)
Node(Node)
Relationship(Relationship)
UnboundRelationship(UnboundRelationship)
Path(Path)
Trait Implementations§
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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