pub struct GetNeighborsResponse {
pub neighbors: Vec<NeighborInfo>,
}Expand description
Response for getting neighbors
Fields§
§neighbors: Vec<NeighborInfo>List of neighbors
Trait Implementations§
Source§impl Clone for GetNeighborsResponse
impl Clone for GetNeighborsResponse
Source§fn clone(&self) -> GetNeighborsResponse
fn clone(&self) -> GetNeighborsResponse
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 GetNeighborsResponse
impl Debug for GetNeighborsResponse
Source§impl<'de> Deserialize<'de> for GetNeighborsResponse
impl<'de> Deserialize<'de> for GetNeighborsResponse
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 GetNeighborsResponse
impl RefUnwindSafe for GetNeighborsResponse
impl Send for GetNeighborsResponse
impl Sync for GetNeighborsResponse
impl Unpin for GetNeighborsResponse
impl UnwindSafe for GetNeighborsResponse
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