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