pub struct DhtPeerResponse {
pub id: String,
pub addrs: Vec<String>,
}
Fields§
§id: String
§addrs: Vec<String>
Trait Implementations§
Source§impl Debug for DhtPeerResponse
impl Debug for DhtPeerResponse
Source§impl<'de> Deserialize<'de> for DhtPeerResponse
impl<'de> Deserialize<'de> for DhtPeerResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DhtPeerResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DhtPeerResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DhtPeerResponse
impl RefUnwindSafe for DhtPeerResponse
impl Send for DhtPeerResponse
impl Sync for DhtPeerResponse
impl Unpin for DhtPeerResponse
impl UnwindSafe for DhtPeerResponse
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