Struct g_rust::extension::parsers::subparsers::CatalogPageMessageOfferData
source · pub struct CatalogPageMessageOfferData {
pub offer_id: LegacyId,
pub localization_id: String,
pub is_rent: bool,
pub price_in_credits: i32,
pub price_in_activity_points: i32,
pub activity_point_type: i32,
pub giftable: bool,
pub products: Vec<CatalogPageMessageProductData>,
pub club_level: i32,
pub bundle_purchase_allowed: bool,
pub _unused: bool,
pub preview_image: String,
}
Fields§
§offer_id: LegacyId
§localization_id: String
§is_rent: bool
§price_in_credits: i32
§price_in_activity_points: i32
§activity_point_type: i32
§giftable: bool
§products: Vec<CatalogPageMessageProductData>
§club_level: i32
§bundle_purchase_allowed: bool
§_unused: bool
§preview_image: String
Trait Implementations§
source§impl Clone for CatalogPageMessageOfferData
impl Clone for CatalogPageMessageOfferData
source§fn clone(&self) -> CatalogPageMessageOfferData
fn clone(&self) -> CatalogPageMessageOfferData
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 CatalogPageMessageOfferData
impl Debug for CatalogPageMessageOfferData
source§impl Default for CatalogPageMessageOfferData
impl Default for CatalogPageMessageOfferData
source§fn default() -> CatalogPageMessageOfferData
fn default() -> CatalogPageMessageOfferData
Returns the “default value” for a type. Read more
source§impl PartialEq<CatalogPageMessageOfferData> for CatalogPageMessageOfferData
impl PartialEq<CatalogPageMessageOfferData> for CatalogPageMessageOfferData
source§fn eq(&self, other: &CatalogPageMessageOfferData) -> bool
fn eq(&self, other: &CatalogPageMessageOfferData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CatalogPageMessageOfferData
Auto Trait Implementations§
impl RefUnwindSafe for CatalogPageMessageOfferData
impl Send for CatalogPageMessageOfferData
impl Sync for CatalogPageMessageOfferData
impl Unpin for CatalogPageMessageOfferData
impl UnwindSafe for CatalogPageMessageOfferData
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