pub struct BridgeChargeConfig {
pub capacity: PositiveI64,
pub amplification_cap_permyriad: PositiveI64,
}Expand description
How a bridge turns delivered Resonance into Law Power (plan §3).
Two numbers, not three. Amplification used to be authored a third time as
“per delivered unit”, tied to the other two by capacity × per_unit == cap.
That equality made BL-03 Short Span inexpressible — it moves capacity by
−40% and the cap by −20%, and no choice of leading parameter satisfies
the identity afterwards (post-merge plan §8). The per-unit field is gone and
amplification is now read as a share of how full the bridge is:
multiplier = delivered_units × amplification_cap / capacityToday’s numbers are unchanged by the switch: a full bridge is
10/10 × 50% = +50%, half a bridge 5/10 × 50% = +25% — exactly what
5 × 5% used to give. What is new is that the two knobs now move
independently, which is the whole content of the Bridge Law socket.
Fields§
§capacity: PositiveI64§amplification_cap_permyriad: PositiveI64Trait Implementations§
Source§impl Clone for BridgeChargeConfig
impl Clone for BridgeChargeConfig
Source§fn clone(&self) -> BridgeChargeConfig
fn clone(&self) -> BridgeChargeConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BridgeChargeConfig
impl Debug for BridgeChargeConfig
Source§impl<'de> Deserialize<'de> for BridgeChargeConfig
impl<'de> Deserialize<'de> for BridgeChargeConfig
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>,
Source§impl JsonSchema for BridgeChargeConfig
impl JsonSchema for BridgeChargeConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more