Struct poster::SubscriptionOptions
source · pub struct SubscriptionOptions {
pub maximum_qos: QoS,
pub no_local: bool,
pub retain_as_published: bool,
pub retain_handling: RetainHandling,
}Expand description
Subscription options set for the topic filter.
Fields§
§maximum_qos: QoSMaximum Quality of Service for the topic.
no_local: bool§retain_as_published: boolRetain as published flag. Setting to true keeps the RETAIN flag from
incoming PUBLISH packets untouched.
retain_handling: RetainHandlingRetain handling options, see RetainHandling.
Trait Implementations§
source§impl Clone for SubscriptionOptions
impl Clone for SubscriptionOptions
source§fn clone(&self) -> SubscriptionOptions
fn clone(&self) -> SubscriptionOptions
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 more