pub struct Unsubscribe {
pub pid: Pid,
pub topics: Vec<TopicFilter>,
}
Expand description
Unsubscribe packet body type.
Fields§
§pid: Pid
§topics: Vec<TopicFilter>
Implementations§
Trait Implementations§
Source§impl Clone for Unsubscribe
impl Clone for Unsubscribe
Source§fn clone(&self) -> Unsubscribe
fn clone(&self) -> Unsubscribe
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 moreSource§impl Debug for Unsubscribe
impl Debug for Unsubscribe
Source§impl Encodable for Unsubscribe
impl Encodable for Unsubscribe
Source§impl From<Unsubscribe> for Packet
impl From<Unsubscribe> for Packet
Source§fn from(p: Unsubscribe) -> Self
fn from(p: Unsubscribe) -> Self
Converts to this type from the input type.
Source§impl Hash for Unsubscribe
impl Hash for Unsubscribe
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