pub struct CoreEssenceChapterBand {
pub from_chapter: i64,
pub r_value: f64,
pub packet: PositiveI64,
pub base_chance: f64,
}Expand description
One chapter band of the A3 all-free Core Essence faucet. Its source rates supersede BAL-010; the Core price ladder remains unchanged.
r_value is an AMOUNT, not a rate: the Essence a canonical campaign route
yields in one active hour inside this band. The active rate is
r_value / hour, the daily hard cap is 2 × r_value, and the accelerator
packets (daily / weekly / AFK / Ratings) are all expressed as fractions of
it, so one number moves the whole band coherently.
Supply steps by REACHED CHAPTER, never by min(core level) — otherwise a
player who banked Essence without spending it would slow their own faucet.
Fields§
§from_chapter: i64§r_value: f64§packet: PositiveI64§base_chance: f64Trait Implementations§
Source§impl Clone for CoreEssenceChapterBand
impl Clone for CoreEssenceChapterBand
Source§fn clone(&self) -> CoreEssenceChapterBand
fn clone(&self) -> CoreEssenceChapterBand
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 CoreEssenceChapterBand
impl Debug for CoreEssenceChapterBand
Source§impl<'de> Deserialize<'de> for CoreEssenceChapterBand
impl<'de> Deserialize<'de> for CoreEssenceChapterBand
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 From<CoreEssenceChapterBand> for JsValuewhere
CoreEssenceChapterBand: Serialize,
impl From<CoreEssenceChapterBand> for JsValuewhere
CoreEssenceChapterBand: Serialize,
Source§fn from(value: CoreEssenceChapterBand) -> Self
fn from(value: CoreEssenceChapterBand) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
impl FromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for CoreEssenceChapterBandwhere
CoreEssenceChapterBand: Serialize,
impl IntoWasmAbi for CoreEssenceChapterBandwhere
CoreEssenceChapterBand: Serialize,
Source§impl JsonSchema for CoreEssenceChapterBand
impl JsonSchema for CoreEssenceChapterBand
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 OptionFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
Source§impl RefFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<CoreEssenceChapterBand>
type Anchor = SelfOwner<CoreEssenceChapterBand>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for CoreEssenceChapterBand
impl Serialize for CoreEssenceChapterBand
Source§impl Tsify for CoreEssenceChapterBand
impl Tsify for CoreEssenceChapterBand
const DECL: &'static str = "/**\n * One chapter band of the A3 all-free Core Essence faucet. Its source rates\n * supersede BAL-010; the Core price ladder remains unchanged.\n *\n * `r_value` is an AMOUNT, not a rate: the Essence a canonical campaign route\n * yields in one active hour inside this band. The active rate is\n * `r_value / hour`, the daily hard cap is `2 \u{d7} r_value`, and the accelerator\n * packets (daily / weekly / AFK / Ratings) are all expressed as fractions of\n * it, so one number moves the whole band coherently.\n *\n * Supply steps by REACHED CHAPTER, never by `min(core level)` \u{2014} otherwise a\n * player who banked Essence without spending it would slow their own faucet.\n */\nexport interface CoreEssenceChapterBand {\n from_chapter: number;\n r_value: number;\n packet: PositiveI64;\n base_chance: 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>
Source§impl VectorFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for CoreEssenceChapterBandwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for CoreEssenceChapterBandwhere
CoreEssenceChapterBand: Serialize,
impl VectorIntoWasmAbi for CoreEssenceChapterBandwhere
CoreEssenceChapterBand: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for CoreEssenceChapterBand
impl WasmDescribeVector for CoreEssenceChapterBand
impl Copy for CoreEssenceChapterBand
Auto Trait Implementations§
impl Freeze for CoreEssenceChapterBand
impl RefUnwindSafe for CoreEssenceChapterBand
impl Send for CoreEssenceChapterBand
impl Sync for CoreEssenceChapterBand
impl Unpin for CoreEssenceChapterBand
impl UnwindSafe for CoreEssenceChapterBand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.