pub struct CreateNode {
pub var: Option<String>,
pub label: String,
pub props: Vec<(String, Value)>,
}Expand description
One node in a CREATE pattern.
Fields§
§var: Option<String>Optional binding variable (a in (a:Label {…})).
label: String§props: Vec<(String, Value)>Literal property pairs. Must include a string-valued id field.
Trait Implementations§
Source§impl Clone for CreateNode
impl Clone for CreateNode
Source§fn clone(&self) -> CreateNode
fn clone(&self) -> CreateNode
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 CreateNode
impl Debug for CreateNode
Source§impl PartialEq for CreateNode
impl PartialEq for CreateNode
impl StructuralPartialEq for CreateNode
Auto Trait Implementations§
impl Freeze for CreateNode
impl RefUnwindSafe for CreateNode
impl Send for CreateNode
impl Sync for CreateNode
impl Unpin for CreateNode
impl UnsafeUnpin for CreateNode
impl UnwindSafe for CreateNode
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