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