pub struct EdgeInfo {
pub from: String,
pub to: String,
pub relationship: String,
pub weight: f32,
}Expand description
Summary information about an edge.
Fields§
§from: StringSource node ID.
to: StringTarget node ID.
relationship: StringRelationship type.
weight: f32Edge weight.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeInfo
impl<'de> Deserialize<'de> for EdgeInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EdgeInfo
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnsafeUnpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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