pub struct Subscribe {
pub pid: Pid,
pub topics: Vec<(TopicFilter, QoS)>,
}
Expand description
Subscribe packet body type.
Fields§
§pid: Pid
§topics: Vec<(TopicFilter, QoS)>
Implementations§
Trait Implementations§
impl Eq for Subscribe
impl StructuralPartialEq for Subscribe
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnwindSafe for Subscribe
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