Struct poster::PublishData

source ·
pub struct PublishData { /* private fields */ }
Expand description

Accesses data in the incoming PUBLISH packet.

Implementations§

Accesses duplicate flag.

Accesses retain flag.

Accesses QoS value.

Accesses topic name.

Accesses payload format indicator.

Accesses topic alias.

Accesses message expiry interval.

Accesses correlation data.

Accesses response topic.

Accesses content type.

Accesses payload.

Accesses user properties.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.