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 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 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 for PurchaseFromCatalog
impl PartialEq for PurchaseFromCatalog
impl StructuralPartialEq for PurchaseFromCatalog
Auto Trait Implementations§
impl Freeze for PurchaseFromCatalog
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