pub struct DestinationConfiguration {
pub key: Option<String>,
pub path: Option<String>,
pub qos: Option<QoS>,
pub retain: Option<Retain>,
pub topic: Option<String>,
pub ttl: Option<u64>,
}
Expand description
The configuration for the destination
Fields§
§key: Option<String>
The Broker State Store destination configuration key.
path: Option<String>
The Storage destination configuration path.
qos: Option<QoS>
The MQTT QoS
setting.
retain: Option<Retain>
When set to ‘Keep’, messages published to an MQTT broker will have the retain flag set.
topic: Option<String>
The MQTT topic.
ttl: Option<u64>
The MQTT TTL setting.
Trait Implementations§
Source§impl Clone for DestinationConfiguration
impl Clone for DestinationConfiguration
Source§fn clone(&self) -> DestinationConfiguration
fn clone(&self) -> DestinationConfiguration
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 Debug for DestinationConfiguration
impl Debug for DestinationConfiguration
Source§impl PartialEq for DestinationConfiguration
impl PartialEq for DestinationConfiguration
impl StructuralPartialEq for DestinationConfiguration
Auto Trait Implementations§
impl Freeze for DestinationConfiguration
impl RefUnwindSafe for DestinationConfiguration
impl Send for DestinationConfiguration
impl Sync for DestinationConfiguration
impl Unpin for DestinationConfiguration
impl UnwindSafe for DestinationConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more