pub struct PriceStore {
pub as_of: String,
pub namespaces: HashMap<String, HashMap<String, ModelPrice>>,
}Expand description
All price tables, keyed by namespace (“litellm”) then verbatim model string.
Fields§
§as_of: String§namespaces: HashMap<String, HashMap<String, ModelPrice>>Implementations§
Trait Implementations§
Source§impl Clone for PriceStore
impl Clone for PriceStore
Source§fn clone(&self) -> PriceStore
fn clone(&self) -> PriceStore
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 moreSource§impl Debug for PriceStore
impl Debug for PriceStore
Source§impl<'de> Deserialize<'de> for PriceStore
impl<'de> Deserialize<'de> for PriceStore
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
Source§impl PartialEq for PriceStore
impl PartialEq for PriceStore
Source§fn eq(&self, other: &PriceStore) -> bool
fn eq(&self, other: &PriceStore) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PriceStore
impl Serialize for PriceStore
impl StructuralPartialEq for PriceStore
Auto Trait Implementations§
impl Freeze for PriceStore
impl RefUnwindSafe for PriceStore
impl Send for PriceStore
impl Sync for PriceStore
impl Unpin for PriceStore
impl UnsafeUnpin for PriceStore
impl UnwindSafe for PriceStore
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