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