pub struct SetChatPreferences {
pub force_old_chat: bool,
}
Fields§
§force_old_chat: bool
Trait Implementations§
source§impl BaseParser for SetChatPreferences
impl BaseParser for SetChatPreferences
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for SetChatPreferences
impl Clone for SetChatPreferences
source§fn clone(&self) -> SetChatPreferences
fn clone(&self) -> SetChatPreferences
Returns a copy 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 SetChatPreferences
impl Debug for SetChatPreferences
source§impl Default for SetChatPreferences
impl Default for SetChatPreferences
source§fn default() -> SetChatPreferences
fn default() -> SetChatPreferences
Returns the “default value” for a type. Read more
source§impl PacketVariable for SetChatPreferences
impl PacketVariable for SetChatPreferences
source§impl PartialEq<SetChatPreferences> for SetChatPreferences
impl PartialEq<SetChatPreferences> for SetChatPreferences
source§fn eq(&self, other: &SetChatPreferences) -> bool
fn eq(&self, other: &SetChatPreferences) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetChatPreferences
Auto Trait Implementations§
impl RefUnwindSafe for SetChatPreferences
impl Send for SetChatPreferences
impl Sync for SetChatPreferences
impl Unpin for SetChatPreferences
impl UnwindSafe for SetChatPreferences
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