pub struct UnsubackProperties {
pub reason_string: Option<Arc<String>>,
pub user_properties: Vec<UserProperty>,
}
Expand description
Property list for UNSUBACK packet.
Fields§
§reason_string: Option<Arc<String>>
§user_properties: Vec<UserProperty>
Implementations§
Source§impl UnsubackProperties
impl UnsubackProperties
pub async fn decode_async<T: AsyncRead + Unpin>( reader: &mut T, packet_type: PacketType, ) -> Result<Self, ErrorV5>
Trait Implementations§
Source§impl Clone for UnsubackProperties
impl Clone for UnsubackProperties
Source§fn clone(&self) -> UnsubackProperties
fn clone(&self) -> UnsubackProperties
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 UnsubackProperties
impl Debug for UnsubackProperties
Source§impl Default for UnsubackProperties
impl Default for UnsubackProperties
Source§fn default() -> UnsubackProperties
fn default() -> UnsubackProperties
Returns the “default value” for a type. Read more
Source§impl Encodable for UnsubackProperties
impl Encodable for UnsubackProperties
Source§impl PartialEq for UnsubackProperties
impl PartialEq for UnsubackProperties
impl Eq for UnsubackProperties
impl StructuralPartialEq for UnsubackProperties
Auto Trait Implementations§
impl Freeze for UnsubackProperties
impl RefUnwindSafe for UnsubackProperties
impl Send for UnsubackProperties
impl Sync for UnsubackProperties
impl Unpin for UnsubackProperties
impl UnwindSafe for UnsubackProperties
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