Struct mqtt::packet::unsubscribe::UnsubscribePacket
[−]
[src]
pub struct UnsubscribePacket {
// some fields omitted
}Methods
impl UnsubscribePacket[src]
fn new(pkid: u16, subscribes: Vec<String>) -> UnsubscribePacket
fn packet_identifier(&self) -> u16
fn set_packet_identifier(&mut self, pkid: u16)
Trait Implementations
impl PartialEq for UnsubscribePacket[src]
fn eq(&self, __arg_0: &UnsubscribePacket) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UnsubscribePacket) -> bool
This method tests for !=.