Struct libp2p::floodsub::protocol::FloodsubSubscription [−][src]
pub struct FloodsubSubscription { pub action: FloodsubSubscriptionAction, pub topic: Topic, }
A subscription received by the floodsub system.
Fields
action: FloodsubSubscriptionAction
Action to perform.
topic: Topic
The topic from which to subscribe or unsubscribe.
Trait Implementations
impl Clone for FloodsubSubscription
[src]
impl Clone for FloodsubSubscription
[src]pub fn clone(&self) -> FloodsubSubscription
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FloodsubSubscription
[src]
impl Debug for FloodsubSubscription
[src]impl Hash for FloodsubSubscription
[src]
impl Hash for FloodsubSubscription
[src]impl PartialEq<FloodsubSubscription> for FloodsubSubscription
[src]
impl PartialEq<FloodsubSubscription> for FloodsubSubscription
[src]