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