pub struct GiftUpgradePreview {
pub models: Vec<UpgradedGiftModel>,
pub symbols: Vec<UpgradedGiftSymbol>,
pub backdrops: Vec<UpgradedGiftBackdrop>,
pub prices: Vec<GiftUpgradePrice>,
pub next_prices: Vec<GiftUpgradePrice>,
}Expand description
Contains examples of possible upgraded gifts for the given regular gift
Fields§
§models: Vec<UpgradedGiftModel>Examples of possible models that can be chosen for the gift after upgrade
symbols: Vec<UpgradedGiftSymbol>Examples of possible symbols that can be chosen for the gift after upgrade
backdrops: Vec<UpgradedGiftBackdrop>Examples of possible backdrops that can be chosen for the gift after upgrade
prices: Vec<GiftUpgradePrice>Examples of price for gift upgrade from the maximum price to the minimum price
next_prices: Vec<GiftUpgradePrice>Next changes for the price for gift upgrade with more granularity than in prices
Trait Implementations§
Source§impl Clone for GiftUpgradePreview
impl Clone for GiftUpgradePreview
Source§fn clone(&self) -> GiftUpgradePreview
fn clone(&self) -> GiftUpgradePreview
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 GiftUpgradePreview
impl Debug for GiftUpgradePreview
Source§impl Default for GiftUpgradePreview
impl Default for GiftUpgradePreview
Source§fn default() -> GiftUpgradePreview
fn default() -> GiftUpgradePreview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GiftUpgradePreview
impl<'de> Deserialize<'de> for GiftUpgradePreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GiftUpgradePreview
impl PartialEq for GiftUpgradePreview
Source§impl Serialize for GiftUpgradePreview
impl Serialize for GiftUpgradePreview
impl StructuralPartialEq for GiftUpgradePreview
Auto Trait Implementations§
impl Freeze for GiftUpgradePreview
impl RefUnwindSafe for GiftUpgradePreview
impl Send for GiftUpgradePreview
impl Sync for GiftUpgradePreview
impl Unpin for GiftUpgradePreview
impl UnsafeUnpin for GiftUpgradePreview
impl UnwindSafe for GiftUpgradePreview
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