pub struct TxnNodeView {
pub id: Option<u64>,
pub local: Option<TxnLocalRef>,
pub labels: Vec<String>,
pub key: String,
pub props: BTreeMap<String, PropValue>,
pub created_at: Option<i64>,
pub updated_at: Option<i64>,
pub weight: f32,
pub dense_vector: Option<DenseVector>,
pub sparse_vector: Option<SparseVector>,
}Expand description
Node view returned by bounded write-transaction reads.
Fields§
§id: Option<u64>§local: Option<TxnLocalRef>§labels: Vec<String>§key: String§props: BTreeMap<String, PropValue>§created_at: Option<i64>§updated_at: Option<i64>§weight: f32§dense_vector: Option<DenseVector>§sparse_vector: Option<SparseVector>Trait Implementations§
Source§impl Clone for TxnNodeView
impl Clone for TxnNodeView
Source§fn clone(&self) -> TxnNodeView
fn clone(&self) -> TxnNodeView
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 TxnNodeView
impl Debug for TxnNodeView
Source§impl PartialEq for TxnNodeView
impl PartialEq for TxnNodeView
Source§fn eq(&self, other: &TxnNodeView) -> bool
fn eq(&self, other: &TxnNodeView) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TxnNodeView
Auto Trait Implementations§
impl Freeze for TxnNodeView
impl RefUnwindSafe for TxnNodeView
impl Send for TxnNodeView
impl Sync for TxnNodeView
impl Unpin for TxnNodeView
impl UnsafeUnpin for TxnNodeView
impl UnwindSafe for TxnNodeView
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