pub struct PetCaseCheckpointReward {
pub required_opens: i64,
pub currency_rewards: Vec<CurrencyUnit>,
pub pet_rewards: Vec<PetCaseCheckpointPetReward>,
}Fields§
§required_opens: i64Количество круток в рамках текущего уровня, необходимое для автоклейма награды.
currency_rewards: Vec<CurrencyUnit>Валютные награды чекпоинта.
pet_rewards: Vec<PetCaseCheckpointPetReward>Награды петами чекпоинта.
Trait Implementations§
Source§impl Clone for PetCaseCheckpointReward
impl Clone for PetCaseCheckpointReward
Source§fn clone(&self) -> PetCaseCheckpointReward
fn clone(&self) -> PetCaseCheckpointReward
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 PetCaseCheckpointReward
impl Debug for PetCaseCheckpointReward
Source§impl Default for PetCaseCheckpointReward
impl Default for PetCaseCheckpointReward
Source§fn default() -> PetCaseCheckpointReward
fn default() -> PetCaseCheckpointReward
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PetCaseCheckpointReward
impl<'de> Deserialize<'de> for PetCaseCheckpointReward
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 JsonSchema for PetCaseCheckpointReward
impl JsonSchema for PetCaseCheckpointReward
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for PetCaseCheckpointReward
impl Serialize for PetCaseCheckpointReward
Source§impl Tsify for PetCaseCheckpointReward
impl Tsify for PetCaseCheckpointReward
const DECL: &'static str = "export interface PetCaseCheckpointReward {\n /**\n * \u{41a}\u{43e}\u{43b}\u{438}\u{447}\u{435}\u{441}\u{442}\u{432}\u{43e} \u{43a}\u{440}\u{443}\u{442}\u{43e}\u{43a} \u{432} \u{440}\u{430}\u{43c}\u{43a}\u{430}\u{445} \u{442}\u{435}\u{43a}\u{443}\u{449}\u{435}\u{433}\u{43e} \u{443}\u{440}\u{43e}\u{432}\u{43d}\u{44f}, \u{43d}\u{435}\u{43e}\u{431}\u{445}\u{43e}\u{434}\u{438}\u{43c}\u{43e}\u{435} \u{434}\u{43b}\u{44f} \u{430}\u{432}\u{442}\u{43e}\u{43a}\u{43b}\u{435}\u{439}\u{43c}\u{430} \u{43d}\u{430}\u{433}\u{440}\u{430}\u{434}\u{44b}.\n */\n required_opens: number;\n /**\n * \u{412}\u{430}\u{43b}\u{44e}\u{442}\u{43d}\u{44b}\u{435} \u{43d}\u{430}\u{433}\u{440}\u{430}\u{434}\u{44b} \u{447}\u{435}\u{43a}\u{43f}\u{43e}\u{438}\u{43d}\u{442}\u{430}.\n */\n currency_rewards: CurrencyUnit[];\n /**\n * \u{41d}\u{430}\u{433}\u{440}\u{430}\u{434}\u{44b} \u{43f}\u{435}\u{442}\u{430}\u{43c}\u{438} \u{447}\u{435}\u{43a}\u{43f}\u{43e}\u{438}\u{43d}\u{442}\u{430}.\n */\n pet_rewards: PetCaseCheckpointPetReward[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for PetCaseCheckpointReward
impl RefUnwindSafe for PetCaseCheckpointReward
impl Send for PetCaseCheckpointReward
impl Sync for PetCaseCheckpointReward
impl Unpin for PetCaseCheckpointReward
impl UnwindSafe for PetCaseCheckpointReward
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