pub enum PropertyValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
DateTime(i64),
Blob(Vec<u8>),
List(Vec<PropertyValue>),
Map(BTreeMap<String, PropertyValue>),
}Expand description
Property value types for nodes and edges.
Supports basic and complex types needed for Cypher property expressions:
- Null: NULL values
- Bool: true/false
- Int: 64-bit signed integers
- Float: 64-bit floating point
- String: UTF-8 strings
- DateTime: 64-bit signed microseconds since Unix epoch
- Blob: Raw binary data
- List: Ordered list of PropertyValues
- Map: String-keyed map of PropertyValues
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
DateTime(i64)
Blob(Vec<u8>)
List(Vec<PropertyValue>)
Map(BTreeMap<String, PropertyValue>)
Trait Implementations§
Source§impl Clone for PropertyValue
impl Clone for PropertyValue
Source§fn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
Returns a duplicate 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 PropertyValue
impl Debug for PropertyValue
Source§impl PartialEq for PropertyValue
impl PartialEq for PropertyValue
impl StructuralPartialEq for PropertyValue
Auto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnwindSafe for PropertyValue
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