pub struct ProtocolVersionInfo {
pub p2p: u64,
pub block: u64,
pub app: u64,
}
Expand description
Protocol version information
Fields§
§p2p: u64
P2P protocol version
block: u64
Block version
app: u64
App version
Trait Implementations§
Source§impl Clone for ProtocolVersionInfo
impl Clone for ProtocolVersionInfo
Source§fn clone(&self) -> ProtocolVersionInfo
fn clone(&self) -> ProtocolVersionInfo
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 ProtocolVersionInfo
impl Debug for ProtocolVersionInfo
Source§impl<'de> Deserialize<'de> for ProtocolVersionInfo
impl<'de> Deserialize<'de> for ProtocolVersionInfo
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 ProtocolVersionInfo
impl PartialEq for ProtocolVersionInfo
Source§impl Serialize for ProtocolVersionInfo
impl Serialize for ProtocolVersionInfo
impl Eq for ProtocolVersionInfo
impl StructuralPartialEq for ProtocolVersionInfo
Auto Trait Implementations§
impl Freeze for ProtocolVersionInfo
impl RefUnwindSafe for ProtocolVersionInfo
impl Send for ProtocolVersionInfo
impl Sync for ProtocolVersionInfo
impl Unpin for ProtocolVersionInfo
impl UnwindSafe for ProtocolVersionInfo
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