[−][src]Struct sage_mqtt::SubscriptionOptions
Options used to describe a specific subscription.
Fields
qos: QoS
The maximum quality of service the client is expected to receive messages.
no_local: bool
If the value is true
, messages must not be forwarded to a connection
with a ClientID equal to the client id of the publishing connection.
retain_as_published: bool
If true
messages forwarded using this subscription will keep their
retain flag unchanged. Otherwise they won't be retain messages anymore.
retain_handling: RetainHandling
How retain messages are handled upon subscription.
Trait Implementations
impl Clone for SubscriptionOptions
[src]
fn clone(&self) -> SubscriptionOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SubscriptionOptions
[src]
impl Debug for SubscriptionOptions
[src]
impl Default for SubscriptionOptions
[src]
impl PartialEq<SubscriptionOptions> for SubscriptionOptions
[src]
fn eq(&self, other: &SubscriptionOptions) -> bool
[src]
fn ne(&self, other: &SubscriptionOptions) -> bool
[src]
impl StructuralPartialEq for SubscriptionOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionOptions
impl Send for SubscriptionOptions
impl Sync for SubscriptionOptions
impl Unpin for SubscriptionOptions
impl UnwindSafe for SubscriptionOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,