Struct ic_web3_rs::types::PeerProtocolsInfo
source · 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§fn eq(&self, other: &PeerProtocolsInfo) -> bool
fn eq(&self, other: &PeerProtocolsInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PeerProtocolsInfo
impl Serialize for PeerProtocolsInfo
impl StructuralPartialEq for PeerProtocolsInfo
Auto Trait Implementations§
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