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

Method cost_usd

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

Set the total cost in USD.

(mut self, cost: f64)

Source from the content-addressed store, hash-verified

963
964 /// Set the total cost in USD.
965 pub fn cost_usd(mut self, cost: f64) -> Self {
966 self.cost_usd = cost;
967 self
968 }
969
970 /// Set the API processing duration in milliseconds.
971 pub fn duration_api_ms(mut self, ms: u64) -> Self {

Calls

no outgoing calls

Tested by

no test coverage detected