pub struct AbilityCaseCheckpointAbilityReward {
pub amount: i64,
pub min_rarity_id: AbilityRarityId,
}Fields§
§amount: i64Количество роллов абилки с указанной минимальной редкостью.
min_rarity_id: AbilityRarityIdМинимальная редкость для ролла. Все редкости ниже не участвуют в розыгрыше.
Trait Implementations§
Source§impl Clone for AbilityCaseCheckpointAbilityReward
impl Clone for AbilityCaseCheckpointAbilityReward
Source§fn clone(&self) -> AbilityCaseCheckpointAbilityReward
fn clone(&self) -> AbilityCaseCheckpointAbilityReward
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 Default for AbilityCaseCheckpointAbilityReward
impl Default for AbilityCaseCheckpointAbilityReward
Source§fn default() -> AbilityCaseCheckpointAbilityReward
fn default() -> AbilityCaseCheckpointAbilityReward
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AbilityCaseCheckpointAbilityReward
impl<'de> Deserialize<'de> for AbilityCaseCheckpointAbilityReward
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 AbilityCaseCheckpointAbilityReward
impl JsonSchema for AbilityCaseCheckpointAbilityReward
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 Tsify for AbilityCaseCheckpointAbilityReward
impl Tsify for AbilityCaseCheckpointAbilityReward
const DECL: &'static str = "export interface AbilityCaseCheckpointAbilityReward {\n /**\n * \u{41a}\u{43e}\u{43b}\u{438}\u{447}\u{435}\u{441}\u{442}\u{432}\u{43e} \u{440}\u{43e}\u{43b}\u{43b}\u{43e}\u{432} \u{430}\u{431}\u{438}\u{43b}\u{43a}\u{438} \u{441} \u{443}\u{43a}\u{430}\u{437}\u{430}\u{43d}\u{43d}\u{43e}\u{439} \u{43c}\u{438}\u{43d}\u{438}\u{43c}\u{430}\u{43b}\u{44c}\u{43d}\u{43e}\u{439} \u{440}\u{435}\u{434}\u{43a}\u{43e}\u{441}\u{442}\u{44c}\u{44e}.\n */\n amount: number;\n /**\n * \u{41c}\u{438}\u{43d}\u{438}\u{43c}\u{430}\u{43b}\u{44c}\u{43d}\u{430}\u{44f} \u{440}\u{435}\u{434}\u{43a}\u{43e}\u{441}\u{442}\u{44c} \u{434}\u{43b}\u{44f} \u{440}\u{43e}\u{43b}\u{43b}\u{430}. \u{412}\u{441}\u{435} \u{440}\u{435}\u{434}\u{43a}\u{43e}\u{441}\u{442}\u{438} \u{43d}\u{438}\u{436}\u{435} \u{43d}\u{435} \u{443}\u{447}\u{430}\u{441}\u{442}\u{432}\u{443}\u{44e}\u{442} \u{432} \u{440}\u{43e}\u{437}\u{44b}\u{433}\u{440}\u{44b}\u{448}\u{435}.\n */\n min_rarity_id: AbilityRarityId;\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 AbilityCaseCheckpointAbilityReward
impl RefUnwindSafe for AbilityCaseCheckpointAbilityReward
impl Send for AbilityCaseCheckpointAbilityReward
impl Sync for AbilityCaseCheckpointAbilityReward
impl Unpin for AbilityCaseCheckpointAbilityReward
impl UnwindSafe for AbilityCaseCheckpointAbilityReward
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