pub struct ManualEdge {
pub from: String,
pub to: String,
pub relationship: String,
pub weight: Option<f32>,
}Expand description
Manual edge definition loaded from JSON.
Fields§
§from: StringSource node ID.
to: StringTarget node ID.
relationship: StringRelationship type name.
weight: Option<f32>Optional weight override.
Trait Implementations§
Source§impl Clone for ManualEdge
impl Clone for ManualEdge
Source§fn clone(&self) -> ManualEdge
fn clone(&self) -> ManualEdge
Returns a duplicate of the value. Read more
1.0.0 · 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 ManualEdge
impl Debug for ManualEdge
Source§impl<'de> Deserialize<'de> for ManualEdge
impl<'de> Deserialize<'de> for ManualEdge
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 ManualEdge
impl RefUnwindSafe for ManualEdge
impl Send for ManualEdge
impl Sync for ManualEdge
impl Unpin for ManualEdge
impl UnsafeUnpin for ManualEdge
impl UnwindSafe for ManualEdge
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