Struct OutgoingQos1
pub struct OutgoingQos1<'a> {
pub packet_id: PacketId,
pub topic: &'a Topic,
pub payload: &'a [u8],
pub retain: bool,
pub properties: &'a PublishProperties,
}Expand description
A stored outgoing QoS 1 message, passed to the iteration callback.
Fields§
§packet_id: PacketIdPacket identifier.
topic: &'a TopicTopic name.
payload: &'a [u8]Message payload.
retain: boolRetain flag.
properties: &'a PublishPropertiesOriginal publish properties.
Trait Implementations§
§impl<'a> Clone for OutgoingQos1<'a>
impl<'a> Clone for OutgoingQos1<'a>
§fn clone(&self) -> OutgoingQos1<'a>
fn clone(&self) -> OutgoingQos1<'a>
Returns a duplicate 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§impl<'a> Debug for OutgoingQos1<'a>
impl<'a> Debug for OutgoingQos1<'a>
§impl<'a> PartialEq for OutgoingQos1<'a>
impl<'a> PartialEq for OutgoingQos1<'a>
impl<'a> Copy for OutgoingQos1<'a>
impl<'a> Eq for OutgoingQos1<'a>
impl<'a> StructuralPartialEq for OutgoingQos1<'a>
Auto Trait Implementations§
impl<'a> Freeze for OutgoingQos1<'a>
impl<'a> RefUnwindSafe for OutgoingQos1<'a>
impl<'a> Send for OutgoingQos1<'a>
impl<'a> Sync for OutgoingQos1<'a>
impl<'a> Unpin for OutgoingQos1<'a>
impl<'a> UnwindSafe for OutgoingQos1<'a>
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