Type Alias DhtGetResponse

Source
pub type DhtGetResponse = DhtMessage;

Aliased Type§

pub struct DhtGetResponse {
    pub id: String,
    pub typ: DhtType,
    pub responses: Vec<DhtPeerResponse>,
    pub extra: String,
}

Fields§

§id: String§typ: DhtType§responses: Vec<DhtPeerResponse>§extra: String

Trait Implementations

Source§

impl Debug for DhtMessage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DhtMessage

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<DhtMessage, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more