Struct fuel_core_interfaces::p2p::GossipData
source · Fields§
§data: Option<T>
§peer_id: Vec<u8>
§message_id: Vec<u8>
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for GossipData<T>
impl<T: Clone> Clone for GossipData<T>
source§fn clone(&self) -> GossipData<T>
fn clone(&self) -> GossipData<T>
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<T: Debug> Debug for GossipData<T>
impl<T: Debug> Debug for GossipData<T>
source§impl<T> From<&GossipData<T>> for GossipsubMessageInfo
impl<T> From<&GossipData<T>> for GossipsubMessageInfo
source§fn from(gossip_data: &GossipData<T>) -> Self
fn from(gossip_data: &GossipData<T>) -> Self
Converts to this type from the input type.