pub struct DhtResponse {
pub id: Option<ByteBuf>,
pub nodes: Option<ByteBuf>,
pub nodes6: Option<ByteBuf>,
}Fields§
§id: Option<ByteBuf>§nodes: Option<ByteBuf>§nodes6: Option<ByteBuf>Trait Implementations§
Source§impl Debug for DhtResponse
impl Debug for DhtResponse
Source§impl<'de> Deserialize<'de> for DhtResponse
impl<'de> Deserialize<'de> for DhtResponse
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 DhtResponse
impl RefUnwindSafe for DhtResponse
impl Send for DhtResponse
impl Sync for DhtResponse
impl Unpin for DhtResponse
impl UnwindSafe for DhtResponse
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