pub struct PurchaseFromCatalogAsGift {
pub page_id: LegacyId,
pub offer_id: LegacyId,
pub localization_id: String,
pub receiver_name: String,
pub message: String,
pub color: i32,
pub box_type: i32,
pub ribbon_type: i32,
pub show_purchaser_name: bool,
}
Fields§
§page_id: LegacyId
§offer_id: LegacyId
§localization_id: String
§receiver_name: String
§message: String
§color: i32
§box_type: i32
§ribbon_type: i32
§show_purchaser_name: bool
Trait Implementations§
Source§impl BaseParser for PurchaseFromCatalogAsGift
impl BaseParser for PurchaseFromCatalogAsGift
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 PurchaseFromCatalogAsGift
impl Clone for PurchaseFromCatalogAsGift
Source§fn clone(&self) -> PurchaseFromCatalogAsGift
fn clone(&self) -> PurchaseFromCatalogAsGift
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 Debug for PurchaseFromCatalogAsGift
impl Debug for PurchaseFromCatalogAsGift
Source§impl Default for PurchaseFromCatalogAsGift
impl Default for PurchaseFromCatalogAsGift
Source§fn default() -> PurchaseFromCatalogAsGift
fn default() -> PurchaseFromCatalogAsGift
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PurchaseFromCatalogAsGift
Auto Trait Implementations§
impl Freeze for PurchaseFromCatalogAsGift
impl RefUnwindSafe for PurchaseFromCatalogAsGift
impl Send for PurchaseFromCatalogAsGift
impl Sync for PurchaseFromCatalogAsGift
impl Unpin for PurchaseFromCatalogAsGift
impl UnwindSafe for PurchaseFromCatalogAsGift
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