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