[−][src]Struct sage_mqtt::PubRel
The PubRel
packet is sent during an ExactlyOnce
quality of service
publish.
Fields
packet_identifier: u16
The packet identifier is used to identify the message throughout the communication.
reason_code: ReasonCode
The reason code for the acknowledgement. Can be any of:
Success
NoMatchingSubscribers
UnspecifiedError
ImplementationSpecificError
NotAuthorized
TopicNameInvalid
PacketIdentifierInUse
QuotaExceeded
PayloadFormatInvalid
reason_string: Option<String>
If available, the reason string describing the acknowledgement.
user_properties: Vec<(String, String)>
General purpose user properties
Trait Implementations
impl Clone for PubRel
[src]
impl Debug for PubRel
[src]
impl Default for PubRel
[src]
impl From<PubRel> for Packet
[src]
impl PartialEq<PubRel> for PubRel
[src]
impl StructuralPartialEq for PubRel
[src]
Auto Trait Implementations
impl RefUnwindSafe for PubRel
impl Send for PubRel
impl Sync for PubRel
impl Unpin for PubRel
impl UnwindSafe for PubRel
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>,