pub struct UsageEntry {
pub meta: EntryMeta,
pub kind: String,
pub provider: String,
pub model: String,
pub usage: Usage,
pub note: Option<String>,
}Expand description
Usage outside model responses, such as cache warming.
Fields§
§meta: EntryMeta§kind: String§provider: String§model: String§usage: Usage§note: Option<String>Trait Implementations§
Source§impl Clone for UsageEntry
impl Clone for UsageEntry
Source§impl Debug for UsageEntry
impl Debug for UsageEntry
Source§impl<'de> Deserialize<'de> for UsageEntry
impl<'de> Deserialize<'de> for UsageEntry
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 UsageEntry
impl PartialEq for UsageEntry
Source§impl Serialize for UsageEntry
impl Serialize for UsageEntry
impl StructuralPartialEq for UsageEntry
Auto Trait Implementations§
impl Freeze for UsageEntry
impl RefUnwindSafe for UsageEntry
impl Send for UsageEntry
impl Sync for UsageEntry
impl Unpin for UsageEntry
impl UnsafeUnpin for UsageEntry
impl UnwindSafe for UsageEntry
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