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

Method with_cost

atomic-core/src/change/attestation.rs:502–505  ·  view source on GitHub ↗

Set cost in USD.

(mut self, usd: f64)

Source from the content-addressed store, hash-verified

500
501 /// Set cost in USD.
502 pub fn with_cost(mut self, usd: f64) -> Self {
503 self.cost_usd = usd;
504 self
505 }
506}
507
508impl fmt::Display for ModelUsage {

Calls

no outgoing calls

Tested by

no test coverage detected