Struct Prompt Cache Pricing
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.
Fields
read_accounting: CacheReadAccounting
Whether cache-read tokens are included in prompt_tokens.
Trait Implementations
impl Clone for PromptCachePricing
impl Clone for PromptCachePricing
clone
fn clone(&self) -> PromptCachePricing
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for PromptCachePricing
impl Debug for PromptCachePricing
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for PromptCachePricing
impl<'de> Deserialize<'de> for PromptCachePricing
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for PromptCachePricing
impl PartialEq for PromptCachePricing
eq
fn eq(&self, other: &PromptCachePricing) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for PromptCachePricing
impl Serialize for PromptCachePricing
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Copy for PromptCachePricing
impl Copy for PromptCachePricing
impl Eq for PromptCachePricing
impl Eq for PromptCachePricing
impl StructuralPartialEq for PromptCachePricing
impl StructuralPartialEq for PromptCachePricing