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