pub struct PricingState {
pub db: PricingDatabase,
pub last_fetched_unix_ms: Option<i64>,
pub last_failed_unix_ms: Option<i64>,
}Fields§
§db: PricingDatabase§last_fetched_unix_ms: Option<i64>Unix millis of the last successful LiteLLM fetch, or None if never.
last_failed_unix_ms: Option<i64>Unix millis of the last failed LiteLLM fetch (for surfacing staleness).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PricingState
impl RefUnwindSafe for PricingState
impl Send for PricingState
impl Sync for PricingState
impl Unpin for PricingState
impl UnsafeUnpin for PricingState
impl UnwindSafe for PricingState
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