Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PromptCachePricing {
pub read_accounting: CacheReadAccounting,
}
Prompt-cache accounting rules for a model pricing entry.
read_accounting: CacheReadAccountingWhether cache-read tokens are included in prompt_tokens.
impl Clone for PromptCachePricingimpl Clone for PromptCachePricing
clonefn clone(&self) -> PromptCachePricing
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for PromptCachePricingimpl Debug for PromptCachePricing
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for PromptCachePricingimpl<'de> Deserialize<'de> for PromptCachePricing
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for PromptCachePricingimpl PartialEq for PromptCachePricing
eqfn eq(&self, other: &PromptCachePricing) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl Serialize for PromptCachePricingimpl Serialize for PromptCachePricing
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Copy for PromptCachePricingimpl Copy for PromptCachePricing
impl Eq for PromptCachePricingimpl Eq for PromptCachePricing
impl StructuralPartialEq for PromptCachePricingimpl StructuralPartialEq for PromptCachePricing