Struct ckb_network::PeerIdentifyInfo
source · pub struct PeerIdentifyInfo {
pub client_version: String,
pub flags: Flags,
}
Expand description
Peer info from identify protocol message
Fields§
§client_version: String
Node version
flags: Flags
Node flags
Trait Implementations§
source§impl Clone for PeerIdentifyInfo
impl Clone for PeerIdentifyInfo
source§fn clone(&self) -> PeerIdentifyInfo
fn clone(&self) -> PeerIdentifyInfo
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 moreAuto Trait Implementations§
impl RefUnwindSafe for PeerIdentifyInfo
impl Send for PeerIdentifyInfo
impl Sync for PeerIdentifyInfo
impl Unpin for PeerIdentifyInfo
impl UnwindSafe for PeerIdentifyInfo
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