pub struct GetConnectionsResponse {
pub peers: Vec<PeerInfoWire>,
}Expand description
Response for GetConnectionsRequest.
Fields§
§peers: Vec<PeerInfoWire>Connected peers.
Trait Implementations§
Source§impl Clone for GetConnectionsResponse
impl Clone for GetConnectionsResponse
Source§fn clone(&self) -> GetConnectionsResponse
fn clone(&self) -> GetConnectionsResponse
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 GetConnectionsResponse
impl Debug for GetConnectionsResponse
Source§impl<'de> Deserialize<'de> for GetConnectionsResponse
impl<'de> Deserialize<'de> for GetConnectionsResponse
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 GetConnectionsResponse
impl RefUnwindSafe for GetConnectionsResponse
impl Send for GetConnectionsResponse
impl Sync for GetConnectionsResponse
impl Unpin for GetConnectionsResponse
impl UnsafeUnpin for GetConnectionsResponse
impl UnwindSafe for GetConnectionsResponse
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