pub struct SetPropItem {
pub target: VarId,
pub prop: PropId,
pub prop_name: String,
pub value: ExprId,
}Expand description
A single SET n.prop = <expr> assignment, as bound from a SET clause
(#791).
The write target is always a bound variable’s property; bulk forms
(n += {…}, n = {…}) and label writes (n:Label) are rejected at bind.
value is a full runtime expression (not coerced to a literal) — the
lowering layer turns it into a DataFusion expression evaluated per matched
row at execution time.
Fields§
§target: VarIdThe bound variable whose property is written.
prop: PropIdThe property, resolved to a PropId.
prop_name: StringThe property name (carried so the lowering layer needs no PropId → name catalog round-trip — mirrors how CreateNodeSpec carries
resolved names alongside ids).
value: ExprIdThe value expression, evaluated per matched row.
Trait Implementations§
Source§impl Clone for SetPropItem
impl Clone for SetPropItem
Source§fn clone(&self) -> SetPropItem
fn clone(&self) -> SetPropItem
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 SetPropItem
impl Debug for SetPropItem
Source§impl<'de> Deserialize<'de> for SetPropItem
impl<'de> Deserialize<'de> for SetPropItem
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 SetPropItem
impl PartialEq for SetPropItem
Source§impl Serialize for SetPropItem
impl Serialize for SetPropItem
impl StructuralPartialEq for SetPropItem
Auto Trait Implementations§
impl Freeze for SetPropItem
impl RefUnwindSafe for SetPropItem
impl Send for SetPropItem
impl Sync for SetPropItem
impl Unpin for SetPropItem
impl UnsafeUnpin for SetPropItem
impl UnwindSafe for SetPropItem
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