pub struct PlinkoPinBonusesMap(pub BTreeMap<AttributeId, i64>);Expand description
Накопленные за всё время бонусы от колышков Plinko: атрибут → суммарная
прибавка. Постоянный прогресс, как таланты и статуя; ограничен потолком
активного транша (plinko_settings.tranches, BAL-021).
Tuple Fields§
§0: BTreeMap<AttributeId, i64>Implementations§
Trait Implementations§
Source§impl Clone for PlinkoPinBonusesMap
impl Clone for PlinkoPinBonusesMap
Source§fn clone(&self) -> PlinkoPinBonusesMap
fn clone(&self) -> PlinkoPinBonusesMap
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 PlinkoPinBonusesMap
impl Debug for PlinkoPinBonusesMap
Source§impl Default for PlinkoPinBonusesMap
impl Default for PlinkoPinBonusesMap
Source§fn default() -> PlinkoPinBonusesMap
fn default() -> PlinkoPinBonusesMap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlinkoPinBonusesMap
impl<'de> Deserialize<'de> for PlinkoPinBonusesMap
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 PlinkoPinBonusesMap
impl JsonSchema for PlinkoPinBonusesMap
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 PartialEq for PlinkoPinBonusesMap
impl PartialEq for PlinkoPinBonusesMap
Source§impl Serialize for PlinkoPinBonusesMap
impl Serialize for PlinkoPinBonusesMap
Source§impl Tsify for PlinkoPinBonusesMap
impl Tsify for PlinkoPinBonusesMap
const DECL: &'static str = "/**\n * \u{41d}\u{430}\u{43a}\u{43e}\u{43f}\u{43b}\u{435}\u{43d}\u{43d}\u{44b}\u{435} \u{437}\u{430} \u{432}\u{441}\u{451} \u{432}\u{440}\u{435}\u{43c}\u{44f} \u{431}\u{43e}\u{43d}\u{443}\u{441}\u{44b} \u{43e}\u{442} \u{43a}\u{43e}\u{43b}\u{44b}\u{448}\u{43a}\u{43e}\u{432} Plinko: \u{430}\u{442}\u{440}\u{438}\u{431}\u{443}\u{442} \u{2192} \u{441}\u{443}\u{43c}\u{43c}\u{430}\u{440}\u{43d}\u{430}\u{44f}\n * \u{43f}\u{440}\u{438}\u{431}\u{430}\u{432}\u{43a}\u{430}. \u{41f}\u{43e}\u{441}\u{442}\u{43e}\u{44f}\u{43d}\u{43d}\u{44b}\u{439} \u{43f}\u{440}\u{43e}\u{433}\u{440}\u{435}\u{441}\u{441}, \u{43a}\u{430}\u{43a} \u{442}\u{430}\u{43b}\u{430}\u{43d}\u{442}\u{44b} \u{438} \u{441}\u{442}\u{430}\u{442}\u{443}\u{44f}; \u{43e}\u{433}\u{440}\u{430}\u{43d}\u{438}\u{447}\u{435}\u{43d} \u{43f}\u{43e}\u{442}\u{43e}\u{43b}\u{43a}\u{43e}\u{43c}\n * \u{430}\u{43a}\u{442}\u{438}\u{432}\u{43d}\u{43e}\u{433}\u{43e} \u{442}\u{440}\u{430}\u{43d}\u{448}\u{430} (`plinko_settings.tranches`, BAL-021).\n */\nexport type PlinkoPinBonusesMap = Record<AttributeId, number>;"
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>
impl Eq for PlinkoPinBonusesMap
impl StructuralPartialEq for PlinkoPinBonusesMap
Auto Trait Implementations§
impl Freeze for PlinkoPinBonusesMap
impl RefUnwindSafe for PlinkoPinBonusesMap
impl Send for PlinkoPinBonusesMap
impl Sync for PlinkoPinBonusesMap
impl Unpin for PlinkoPinBonusesMap
impl UnwindSafe for PlinkoPinBonusesMap
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