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