pub struct Unsubscribe {
pub pkid: u16,
pub topics: Vec<String>,
}
Expand description
Unsubscribe packet
Fields§
§pkid: u16
§topics: Vec<String>
Implementations§
Trait Implementations§
Source§impl Clone for Unsubscribe
impl Clone for Unsubscribe
Source§fn clone(&self) -> Unsubscribe
fn clone(&self) -> Unsubscribe
Returns a copy 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 moreSource§impl Debug for Unsubscribe
impl Debug for Unsubscribe
Source§impl From<Unsubscribe> for Request
impl From<Unsubscribe> for Request
Source§fn from(unsubscribe: Unsubscribe) -> Request
fn from(unsubscribe: Unsubscribe) -> Request
Converts to this type from the input type.
Source§impl PartialEq for Unsubscribe
impl PartialEq for Unsubscribe
impl Eq for Unsubscribe
impl StructuralPartialEq for Unsubscribe
Auto Trait Implementations§
impl Freeze for Unsubscribe
impl RefUnwindSafe for Unsubscribe
impl Send for Unsubscribe
impl Sync for Unsubscribe
impl Unpin for Unsubscribe
impl UnwindSafe for Unsubscribe
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