pub struct CatalogModelCostRates {
pub input: PicoUsdPerMillion,
pub output: PicoUsdPerMillion,
pub reasoning: Option<PicoUsdPerMillion>,
pub cache_read: Option<PicoUsdPerMillion>,
pub cache_write: Option<PicoUsdPerMillion>,
}Fields§
§input: PicoUsdPerMillion§output: PicoUsdPerMillion§reasoning: Option<PicoUsdPerMillion>§cache_read: Option<PicoUsdPerMillion>§cache_write: Option<PicoUsdPerMillion>Trait Implementations§
Source§impl Clone for CatalogModelCostRates
impl Clone for CatalogModelCostRates
Source§fn clone(&self) -> CatalogModelCostRates
fn clone(&self) -> CatalogModelCostRates
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CatalogModelCostRates
Source§impl Debug for CatalogModelCostRates
impl Debug for CatalogModelCostRates
Source§impl<'de> Deserialize<'de> for CatalogModelCostRates
impl<'de> Deserialize<'de> for CatalogModelCostRates
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CatalogModelCostRates
Source§impl PartialEq for CatalogModelCostRates
impl PartialEq for CatalogModelCostRates
Source§fn eq(&self, other: &CatalogModelCostRates) -> bool
fn eq(&self, other: &CatalogModelCostRates) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CatalogModelCostRates
impl Serialize for CatalogModelCostRates
impl StructuralPartialEq for CatalogModelCostRates
Auto Trait Implementations§
impl Freeze for CatalogModelCostRates
impl RefUnwindSafe for CatalogModelCostRates
impl Send for CatalogModelCostRates
impl Sync for CatalogModelCostRates
impl Unpin for CatalogModelCostRates
impl UnsafeUnpin for CatalogModelCostRates
impl UnwindSafe for CatalogModelCostRates
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more