Struct ipfs_api::response::DhtMessage [−][src]
pub struct DhtMessage {
pub id: String,
pub typ: DhtType,
pub responses: Vec<DhtPeerResponse, Global>,
pub extra: String,
}
Fields
id: String
typ: DhtType
responses: Vec<DhtPeerResponse, Global>
extra: String
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DhtMessage, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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
Auto Trait Implementations
impl RefUnwindSafe for DhtMessage
impl Send for DhtMessage
impl Sync for DhtMessage
impl Unpin for DhtMessage
impl UnwindSafe for DhtMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more