pub struct PipProtocolInfo {
pub version: u32,
pub difficulty: U256,
pub head: String,
}
Expand description
pip version, difficulty, and head
Fields§
§version: u32
version
difficulty: U256
difficulty
head: String
head of chain
Trait Implementations§
Source§impl Clone for PipProtocolInfo
impl Clone for PipProtocolInfo
Source§fn clone(&self) -> PipProtocolInfo
fn clone(&self) -> PipProtocolInfo
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 PipProtocolInfo
impl Debug for PipProtocolInfo
Source§impl<'de> Deserialize<'de> for PipProtocolInfo
impl<'de> Deserialize<'de> for PipProtocolInfo
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 PipProtocolInfo
impl PartialEq for PipProtocolInfo
Source§impl Serialize for PipProtocolInfo
impl Serialize for PipProtocolInfo
impl StructuralPartialEq for PipProtocolInfo
Auto Trait Implementations§
impl Freeze for PipProtocolInfo
impl RefUnwindSafe for PipProtocolInfo
impl Send for PipProtocolInfo
impl Sync for PipProtocolInfo
impl Unpin for PipProtocolInfo
impl UnwindSafe for PipProtocolInfo
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