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