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