pub struct MultiGraphEdge {
pub source: String,
pub target: String,
pub weight: f64,
pub graph_name: String,
pub edge_type: Option<String>,
pub properties: HashMap<String, String>,
}
Expand description
Represents an edge in a multi-graph context
Fields§
§source: String
§target: String
§weight: f64
§graph_name: String
§edge_type: Option<String>
§properties: HashMap<String, String>
Trait Implementations§
Source§impl Clone for MultiGraphEdge
impl Clone for MultiGraphEdge
Source§fn clone(&self) -> MultiGraphEdge
fn clone(&self) -> MultiGraphEdge
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MultiGraphEdge
impl Debug for MultiGraphEdge
Source§impl PartialEq for MultiGraphEdge
impl PartialEq for MultiGraphEdge
impl StructuralPartialEq for MultiGraphEdge
Auto Trait Implementations§
impl Freeze for MultiGraphEdge
impl RefUnwindSafe for MultiGraphEdge
impl Send for MultiGraphEdge
impl Sync for MultiGraphEdge
impl Unpin for MultiGraphEdge
impl UnwindSafe for MultiGraphEdge
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