pub struct PeerProtocolsInfo {
pub eth: Option<EthProtocolInfo>,
pub pip: Option<PipProtocolInfo>,
}
Expand description
chain protocol info
Fields§
§eth: Option<EthProtocolInfo>
chain info
pip: Option<PipProtocolInfo>
chain info
Trait Implementations§
Source§impl Clone for PeerProtocolsInfo
impl Clone for PeerProtocolsInfo
Source§fn clone(&self) -> PeerProtocolsInfo
fn clone(&self) -> PeerProtocolsInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PeerProtocolsInfo
impl Debug for PeerProtocolsInfo
Source§impl<'de> Deserialize<'de> for PeerProtocolsInfo
impl<'de> Deserialize<'de> for PeerProtocolsInfo
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 PartialEq for PeerProtocolsInfo
impl PartialEq for PeerProtocolsInfo
Source§impl Serialize for PeerProtocolsInfo
impl Serialize for PeerProtocolsInfo
impl StructuralPartialEq for PeerProtocolsInfo
Auto Trait Implementations§
impl Freeze for PeerProtocolsInfo
impl RefUnwindSafe for PeerProtocolsInfo
impl Send for PeerProtocolsInfo
impl Sync for PeerProtocolsInfo
impl Unpin for PeerProtocolsInfo
impl UnwindSafe for PeerProtocolsInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more