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