pub struct SubackPacket {
pub packet_id: u16,
pub return_codes: Vec<SubackReturnCode>,
}Expand description
SUBACK packet
Fields§
§packet_id: u16§return_codes: Vec<SubackReturnCode>Trait Implementations§
Source§impl Clone for SubackPacket
impl Clone for SubackPacket
Source§fn clone(&self) -> SubackPacket
fn clone(&self) -> SubackPacket
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 SubackPacket
impl RefUnwindSafe for SubackPacket
impl Send for SubackPacket
impl Sync for SubackPacket
impl Unpin for SubackPacket
impl UnsafeUnpin for SubackPacket
impl UnwindSafe for SubackPacket
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