pub struct EdgeInsert {
pub row_id: String,
pub logical_id: String,
pub source_logical_id: String,
pub target_logical_id: String,
pub kind: String,
pub properties: String,
pub source_ref: Option<String>,
pub upsert: bool,
}Expand description
An edge to be inserted in a WriteRequest.
Fields§
§row_id: String§logical_id: String§source_logical_id: String§target_logical_id: String§kind: String§properties: String§source_ref: Option<String>§upsert: boolWhen true the writer supersedes the current active edge for this logical_id
before inserting this new version. The supersession and insert are atomic.
Trait Implementations§
Source§impl Clone for EdgeInsert
impl Clone for EdgeInsert
Source§fn clone(&self) -> EdgeInsert
fn clone(&self) -> EdgeInsert
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 EdgeInsert
impl Debug for EdgeInsert
Source§impl PartialEq for EdgeInsert
impl PartialEq for EdgeInsert
impl Eq for EdgeInsert
impl StructuralPartialEq for EdgeInsert
Auto Trait Implementations§
impl Freeze for EdgeInsert
impl RefUnwindSafe for EdgeInsert
impl Send for EdgeInsert
impl Sync for EdgeInsert
impl Unpin for EdgeInsert
impl UnsafeUnpin for EdgeInsert
impl UnwindSafe for EdgeInsert
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.