pub struct TxnCommitResult {
pub node_ids: Vec<u64>,
pub edge_ids: Vec<u64>,
pub local_node_ids: BTreeMap<TxnLocalRef, u64>,
pub local_edge_ids: BTreeMap<TxnLocalRef, u64>,
}Expand description
Result returned by a successful write-transaction commit.
Fields§
§node_ids: Vec<u64>§edge_ids: Vec<u64>§local_node_ids: BTreeMap<TxnLocalRef, u64>§local_edge_ids: BTreeMap<TxnLocalRef, u64>Implementations§
Source§impl TxnCommitResult
impl TxnCommitResult
pub fn node_id(&self, target: &TxnNodeRef) -> Option<u64>
pub fn edge_id(&self, target: &TxnEdgeRef) -> Option<u64>
Trait Implementations§
Source§impl Clone for TxnCommitResult
impl Clone for TxnCommitResult
Source§fn clone(&self) -> TxnCommitResult
fn clone(&self) -> TxnCommitResult
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 TxnCommitResult
impl Debug for TxnCommitResult
Source§impl Default for TxnCommitResult
impl Default for TxnCommitResult
Source§fn default() -> TxnCommitResult
fn default() -> TxnCommitResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for TxnCommitResult
impl PartialEq for TxnCommitResult
Source§fn eq(&self, other: &TxnCommitResult) -> bool
fn eq(&self, other: &TxnCommitResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TxnCommitResult
Auto Trait Implementations§
impl Freeze for TxnCommitResult
impl RefUnwindSafe for TxnCommitResult
impl Send for TxnCommitResult
impl Sync for TxnCommitResult
impl Unpin for TxnCommitResult
impl UnsafeUnpin for TxnCommitResult
impl UnwindSafe for TxnCommitResult
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<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