pub struct CreateNodeSpec {
pub var: VarId,
pub labels: Vec<TypeId>,
pub properties: Option<ExprId>,
pub is_reference: bool,
}Expand description
A node to create, as bound from a CREATE clause.
Fields§
§var: VarIdThe pattern variable bound to this node.
labels: Vec<TypeId>The node’s complete label set, resolved to TypeId values.
properties: Option<ExprId>Property map expression (an IrExpr::MapLiteral), or
None when no {…} was given.
is_reference: booltrue when this variable was already bound by a preceding clause
(MATCH/WITH) — the node is referenced per matched row, not minted
(#703). false (the default) for a node the CREATE introduces.
Trait Implementations§
Source§impl Clone for CreateNodeSpec
impl Clone for CreateNodeSpec
Source§fn clone(&self) -> CreateNodeSpec
fn clone(&self) -> CreateNodeSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateNodeSpec
impl Debug for CreateNodeSpec
Source§impl<'de> Deserialize<'de> for CreateNodeSpec
impl<'de> Deserialize<'de> for CreateNodeSpec
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 CreateNodeSpec
impl PartialEq for CreateNodeSpec
Source§impl Serialize for CreateNodeSpec
impl Serialize for CreateNodeSpec
impl StructuralPartialEq for CreateNodeSpec
Auto Trait Implementations§
impl Freeze for CreateNodeSpec
impl RefUnwindSafe for CreateNodeSpec
impl Send for CreateNodeSpec
impl Sync for CreateNodeSpec
impl Unpin for CreateNodeSpec
impl UnsafeUnpin for CreateNodeSpec
impl UnwindSafe for CreateNodeSpec
Blanket Implementations§
impl<T> Allocation for T
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