MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / cost_usd

Method cost_usd

atomic-core/src/change/provenance/builder.rs:125–128  ·  view source on GitHub ↗

Set cost in USD.

(mut self, usd: f64)

Source from the content-addressed store, hash-verified

123
124 /// Set cost in USD.
125 pub fn cost_usd(mut self, usd: f64) -> Self {
126 self.cost = Cost::from_usd(usd);
127 self
128 }
129
130 /// Set temperature (0.0 to 2.0 range, stored as fixed-point).
131 pub fn temperature(mut self, temp: f32) -> Self {

Callers 3

test_provenance_builderFunction · 0.45
test_provenance_displayFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_provenance_builderFunction · 0.36
test_provenance_displayFunction · 0.36