pub struct UpdateRoomFilter {
pub room_id: LegacyId,
pub is_added: bool,
pub bad_word: String,
}
Fields§
§room_id: LegacyId
§is_added: bool
§bad_word: String
Trait Implementations§
source§impl BaseParser for UpdateRoomFilter
impl BaseParser for UpdateRoomFilter
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 UpdateRoomFilter
impl Clone for UpdateRoomFilter
source§fn clone(&self) -> UpdateRoomFilter
fn clone(&self) -> UpdateRoomFilter
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 UpdateRoomFilter
impl Debug for UpdateRoomFilter
source§impl Default for UpdateRoomFilter
impl Default for UpdateRoomFilter
source§fn default() -> UpdateRoomFilter
fn default() -> UpdateRoomFilter
Returns the “default value” for a type. Read more
source§impl PacketVariable for UpdateRoomFilter
impl PacketVariable for UpdateRoomFilter
source§impl PartialEq<UpdateRoomFilter> for UpdateRoomFilter
impl PartialEq<UpdateRoomFilter> for UpdateRoomFilter
source§fn eq(&self, other: &UpdateRoomFilter) -> bool
fn eq(&self, other: &UpdateRoomFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRoomFilter
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRoomFilter
impl Send for UpdateRoomFilter
impl Sync for UpdateRoomFilter
impl Unpin for UpdateRoomFilter
impl UnwindSafe for UpdateRoomFilter
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