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