pub struct BoundMerge {
pub table_name: String,
pub table_id: u64,
pub properties: Vec<(String, Expression)>,
pub patterns: Vec<BoundCreatePattern>,
pub on_create: Vec<BoundSetItem>,
pub on_match: Vec<BoundSetItem>,
}Expand description
Bound MERGE statement — match or create a node/relationship pattern.
Fields§
§table_name: String§table_id: u64§properties: Vec<(String, Expression)>Properties from the primary (first) MERGE pattern node (used for matching and creation).
patterns: Vec<BoundCreatePattern>All bound patterns (nodes + edges) of the MERGE statement.
on_create: Vec<BoundSetItem>ON CREATE SET items: resolved column info.
on_match: Vec<BoundSetItem>ON MATCH SET items: resolved column info.
Trait Implementations§
Source§impl Clone for BoundMerge
impl Clone for BoundMerge
Source§fn clone(&self) -> BoundMerge
fn clone(&self) -> BoundMerge
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 moreAuto Trait Implementations§
impl Freeze for BoundMerge
impl RefUnwindSafe for BoundMerge
impl Send for BoundMerge
impl Sync for BoundMerge
impl Unpin for BoundMerge
impl UnsafeUnpin for BoundMerge
impl UnwindSafe for BoundMerge
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more