pub struct NeighborEdge {
pub target: String,
pub link_type: LinkType,
}Expand description
One edge in a node’s link neighborhood.
Fields§
§target: String§link_type: LinkTypeTrait Implementations§
Source§impl Clone for NeighborEdge
impl Clone for NeighborEdge
Source§fn clone(&self) -> NeighborEdge
fn clone(&self) -> NeighborEdge
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 NeighborEdge
impl Debug for NeighborEdge
Source§impl<'de> Deserialize<'de> for NeighborEdge
impl<'de> Deserialize<'de> for NeighborEdge
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
impl Eq for NeighborEdge
Source§impl PartialEq for NeighborEdge
impl PartialEq for NeighborEdge
Source§impl Serialize for NeighborEdge
impl Serialize for NeighborEdge
impl StructuralPartialEq for NeighborEdge
Auto Trait Implementations§
impl Freeze for NeighborEdge
impl RefUnwindSafe for NeighborEdge
impl Send for NeighborEdge
impl Sync for NeighborEdge
impl Unpin for NeighborEdge
impl UnsafeUnpin for NeighborEdge
impl UnwindSafe for NeighborEdge
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