pub struct GraphEdgeValue {
pub id: Option<u64>,
pub from: Option<u64>,
pub to: Option<u64>,
pub label: Option<String>,
pub props: Option<BTreeMap<String, GraphValue>>,
pub weight: Option<f32>,
pub created_at: Option<i64>,
pub updated_at: Option<i64>,
pub valid_from: Option<i64>,
pub valid_to: Option<i64>,
}Fields§
§id: Option<u64>§from: Option<u64>§to: Option<u64>§label: Option<String>§props: Option<BTreeMap<String, GraphValue>>§weight: Option<f32>§created_at: Option<i64>§updated_at: Option<i64>§valid_from: Option<i64>§valid_to: Option<i64>Trait Implementations§
Source§impl Clone for GraphEdgeValue
impl Clone for GraphEdgeValue
Source§fn clone(&self) -> GraphEdgeValue
fn clone(&self) -> GraphEdgeValue
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 GraphEdgeValue
impl Debug for GraphEdgeValue
Source§impl PartialEq for GraphEdgeValue
impl PartialEq for GraphEdgeValue
Source§fn eq(&self, other: &GraphEdgeValue) -> bool
fn eq(&self, other: &GraphEdgeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphEdgeValue
Auto Trait Implementations§
impl Freeze for GraphEdgeValue
impl RefUnwindSafe for GraphEdgeValue
impl Send for GraphEdgeValue
impl Sync for GraphEdgeValue
impl Unpin for GraphEdgeValue
impl UnsafeUnpin for GraphEdgeValue
impl UnwindSafe for GraphEdgeValue
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