pub struct NeighborhoodResponse {
pub outgoing: Vec<NeighborEdge>,
pub incoming: Vec<NeighborEdge>,
}Expand description
The link neighborhood of a node: outgoing and incoming edges.
Fields§
§outgoing: Vec<NeighborEdge>§incoming: Vec<NeighborEdge>Trait Implementations§
Source§impl Clone for NeighborhoodResponse
impl Clone for NeighborhoodResponse
Source§fn clone(&self) -> NeighborhoodResponse
fn clone(&self) -> NeighborhoodResponse
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 NeighborhoodResponse
impl Debug for NeighborhoodResponse
Source§impl<'de> Deserialize<'de> for NeighborhoodResponse
impl<'de> Deserialize<'de> for NeighborhoodResponse
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 NeighborhoodResponse
Source§impl PartialEq for NeighborhoodResponse
impl PartialEq for NeighborhoodResponse
Source§impl Serialize for NeighborhoodResponse
impl Serialize for NeighborhoodResponse
impl StructuralPartialEq for NeighborhoodResponse
Auto Trait Implementations§
impl Freeze for NeighborhoodResponse
impl RefUnwindSafe for NeighborhoodResponse
impl Send for NeighborhoodResponse
impl Sync for NeighborhoodResponse
impl Unpin for NeighborhoodResponse
impl UnsafeUnpin for NeighborhoodResponse
impl UnwindSafe for NeighborhoodResponse
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