pub enum ValueType {
Show 22 variants
Named {
name: Identifier,
parameters: Vec<u64>,
},
CharacterString {
kind: CharacterStringTypeKind,
max_length: Option<u64>,
},
Boolean {
kind: BooleanTypeKind,
},
Temporal {
kind: TemporalTypeKind,
},
ByteString {
kind: ByteStringTypeKind,
min_length: Option<u64>,
max_length: Option<u64>,
},
ExactNumeric {
kind: ExactNumericTypeKind,
signed: Option<bool>,
precision: Option<u64>,
scale: Option<u64>,
},
ApproximateNumeric {
kind: ApproximateNumericTypeKind,
precision: Option<u64>,
scale: Option<u64>,
},
List(Box<ValueType>),
ListWithLength {
element: Box<ValueType>,
max_length: u64,
},
Array(Box<ValueType>),
ArrayWithLength {
element: Box<ValueType>,
max_length: u64,
},
Path,
AnyRecord,
Record(Vec<FieldType>),
AnyDynamic,
PropertyValue,
DynamicUnion(Vec<ValueType>),
GraphReference {
property_graph: bool,
body: Option<GraphTypeBody>,
},
NodeReference {
definition: Option<NodeTypeDefinition>,
},
EdgeReference {
definition: Option<EdgeTypeDefinition>,
},
BindingTable {
binding: bool,
fields: Vec<FieldType>,
},
NotNull(Box<ValueType>),
}Variants§
Named
CharacterString
Boolean
Fields
§
kind: BooleanTypeKindTemporal
Fields
§
kind: TemporalTypeKindByteString
ExactNumeric
ApproximateNumeric
List(Box<ValueType>)
ListWithLength
Array(Box<ValueType>)
ArrayWithLength
Path
AnyRecord
Record(Vec<FieldType>)
AnyDynamic
PropertyValue
DynamicUnion(Vec<ValueType>)
GraphReference
NodeReference
Fields
§
definition: Option<NodeTypeDefinition>EdgeReference
Fields
§
definition: Option<EdgeTypeDefinition>BindingTable
NotNull(Box<ValueType>)
Trait Implementations§
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnsafeUnpin for ValueType
impl UnwindSafe for ValueType
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