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

Method with_cost

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

Set cost in USD.

(mut self, usd: f64)

Source from the content-addressed store, hash-verified

875
876 /// Set cost in USD.
877 pub fn with_cost(mut self, usd: f64) -> Self {
878 self.cost_usd = usd;
879 self
880 }
881}
882
883impl fmt::Display for ModelUsage {

Calls

no outgoing calls

Tested by

no test coverage detected