pub struct UnsubscribePacket {
pub packet_id: u16,
pub topics: Vec<String>,
}Expand description
UNSUBSCRIBE packet
Fields§
§packet_id: u16§topics: Vec<String>Trait Implementations§
Source§impl Clone for UnsubscribePacket
impl Clone for UnsubscribePacket
Source§fn clone(&self) -> UnsubscribePacket
fn clone(&self) -> UnsubscribePacket
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 moreAuto Trait Implementations§
impl Freeze for UnsubscribePacket
impl RefUnwindSafe for UnsubscribePacket
impl Send for UnsubscribePacket
impl Sync for UnsubscribePacket
impl Unpin for UnsubscribePacket
impl UnsafeUnpin 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