pub struct NeighborView {
pub center: AeoEntity,
pub outbound: Vec<NeighborEdge>,
pub inbound: Vec<NeighborEdge>,
}Expand description
Neighbour result for /nodes/{id}/neighbors.
Fields§
§center: AeoEntityThe center node of the neighbourhood (just the summary).
outbound: Vec<NeighborEdge>Outbound: things center declared.
inbound: Vec<NeighborEdge>Inbound: things that declared center.
Trait Implementations§
Source§impl Clone for NeighborView
impl Clone for NeighborView
Source§fn clone(&self) -> NeighborView
fn clone(&self) -> NeighborView
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 NeighborView
impl Debug for NeighborView
Source§impl<'de> Deserialize<'de> for NeighborView
impl<'de> Deserialize<'de> for NeighborView
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 NeighborView
impl RefUnwindSafe for NeighborView
impl Send for NeighborView
impl Sync for NeighborView
impl Unpin for NeighborView
impl UnsafeUnpin for NeighborView
impl UnwindSafe for NeighborView
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