Struct iroh_rpc_types::p2p::LookupRequest
source · pub struct LookupRequest {
pub peer_id: PeerId,
pub addr: Option<Multiaddr>,
}
Fields§
§peer_id: PeerId
§addr: Option<Multiaddr>
Trait Implementations§
source§impl Debug for LookupRequest
impl Debug for LookupRequest
source§impl<'de> Deserialize<'de> for LookupRequest
impl<'de> Deserialize<'de> for LookupRequest
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
source§impl From<LookupRequest> for P2pRequest
impl From<LookupRequest> for P2pRequest
source§fn from(original: LookupRequest) -> P2pRequest
fn from(original: LookupRequest) -> P2pRequest
Converts to this type from the input type.