Enum Cost Source
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Source of a normalized cost value.
Variants
ModelPricing
ModelPricing
Cost was estimated by applying Relay’s model pricing table to usage.
ProviderReported
ProviderReported
Cost was reported directly by a provider or framework payload.
Trait Implementations
impl Clone for CostSource
impl Clone for CostSource
clone
fn clone(&self) -> CostSource
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for CostSource
impl Debug for CostSource
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for CostSource
impl<'de> Deserialize<'de> for CostSource
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CostSource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for CostSource
impl PartialEq for CostSource
eq
fn eq(&self, other: &CostSource) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for CostSource
impl Serialize for CostSource
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for CostSource
impl Eq for CostSource
impl StructuralPartialEq for CostSource
impl StructuralPartialEq for CostSource