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

Method cost_usd

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

Set the total cost in USD.

(mut self, cost: f64)

Source from the content-addressed store, hash-verified

580
581 /// Set the total cost in USD.
582 pub fn cost_usd(mut self, cost: f64) -> Self {
583 self.cost_usd = cost;
584 self
585 }
586
587 /// Set the API processing duration in milliseconds.
588 pub fn duration_api_ms(mut self, ms: u64) -> Self {

Calls

no outgoing calls

Tested by

no test coverage detected