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