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