Struct libp2p_kad::PeerRecord [−][src]
A record either received by the given peer or retrieved from the local record store.
Fields
peer: Option<PeerId>
The peer from whom the record was received. None
if the record was
retrieved from local storage.
record: Record
Trait Implementations
impl Clone for PeerRecord
[src]
impl Clone for PeerRecord
[src]fn clone(&self) -> PeerRecord
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<PeerRecord> for PeerRecord
[src]
impl PartialEq<PeerRecord> for PeerRecord
[src]