pub struct UpdateRoomCategoryAndTradeSettings {
pub room_id: LegacyId,
pub category: i32,
pub trade_mode: i32,
}
Fields§
§room_id: LegacyId
§category: i32
§trade_mode: i32
Trait Implementations§
Source§impl BaseParser for UpdateRoomCategoryAndTradeSettings
impl BaseParser for UpdateRoomCategoryAndTradeSettings
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 UpdateRoomCategoryAndTradeSettings
impl Clone for UpdateRoomCategoryAndTradeSettings
Source§fn clone(&self) -> UpdateRoomCategoryAndTradeSettings
fn clone(&self) -> UpdateRoomCategoryAndTradeSettings
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 Default for UpdateRoomCategoryAndTradeSettings
impl Default for UpdateRoomCategoryAndTradeSettings
Source§fn default() -> UpdateRoomCategoryAndTradeSettings
fn default() -> UpdateRoomCategoryAndTradeSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateRoomCategoryAndTradeSettings
impl PartialEq for UpdateRoomCategoryAndTradeSettings
Source§fn eq(&self, other: &UpdateRoomCategoryAndTradeSettings) -> bool
fn eq(&self, other: &UpdateRoomCategoryAndTradeSettings) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateRoomCategoryAndTradeSettings
Auto Trait Implementations§
impl Freeze for UpdateRoomCategoryAndTradeSettings
impl RefUnwindSafe for UpdateRoomCategoryAndTradeSettings
impl Send for UpdateRoomCategoryAndTradeSettings
impl Sync for UpdateRoomCategoryAndTradeSettings
impl Unpin for UpdateRoomCategoryAndTradeSettings
impl UnwindSafe for UpdateRoomCategoryAndTradeSettings
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