pub struct PublishCompletePacket {
pub packet_id: u16,
pub reason_code: PublishCompleteReason,
pub reason_string: Option<ReasonString>,
pub user_properties: Vec<UserProperty>,
}
Fields§
§packet_id: u16
§reason_code: PublishCompleteReason
§reason_string: Option<ReasonString>
§user_properties: Vec<UserProperty>
Trait Implementations§
Source§impl Debug for PublishCompletePacket
impl Debug for PublishCompletePacket
Source§impl PartialEq for PublishCompletePacket
impl PartialEq for PublishCompletePacket
Source§impl PropertySize for PublishCompletePacket
impl PropertySize for PublishCompletePacket
fn property_size(&self, protocol_version: ProtocolVersion) -> u32
impl StructuralPartialEq for PublishCompletePacket
Auto Trait Implementations§
impl Freeze for PublishCompletePacket
impl RefUnwindSafe for PublishCompletePacket
impl Send for PublishCompletePacket
impl Sync for PublishCompletePacket
impl Unpin for PublishCompletePacket
impl UnwindSafe for PublishCompletePacket
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