pub struct NodeInsert {
pub row_id: String,
pub logical_id: String,
pub kind: String,
pub properties: String,
pub source_ref: Option<String>,
pub upsert: bool,
pub chunk_policy: ChunkPolicy,
}Expand description
A node to be inserted in a WriteRequest.
Fields§
§row_id: String§logical_id: String§kind: String§properties: String§source_ref: Option<String>§upsert: boolWhen true the writer supersedes the current active row for this logical_id
before inserting this new version. The supersession and insert are atomic.
chunk_policy: ChunkPolicyControls whether existing chunks and FTS rows are deleted when upsert=true.
Trait Implementations§
Source§impl Clone for NodeInsert
impl Clone for NodeInsert
Source§fn clone(&self) -> NodeInsert
fn clone(&self) -> NodeInsert
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeInsert
impl Debug for NodeInsert
Source§impl PartialEq for NodeInsert
impl PartialEq for NodeInsert
impl Eq for NodeInsert
impl StructuralPartialEq for NodeInsert
Auto Trait Implementations§
impl Freeze for NodeInsert
impl RefUnwindSafe for NodeInsert
impl Send for NodeInsert
impl Sync for NodeInsert
impl Unpin for NodeInsert
impl UnsafeUnpin for NodeInsert
impl UnwindSafe for NodeInsert
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.