pub struct UsageLogEntry {
pub id: u64,
pub llm_model: String,
pub action_type: String,
pub spec_item_id: Option<u64>,
pub spec_item_title: Option<String>,
pub input_tokens: u64,
pub output_tokens: u64,
pub estimated_cost_cents: u64,
pub created_at: String,
}Fields§
§id: u64§llm_model: String§action_type: String§spec_item_id: Option<u64>§spec_item_title: Option<String>§input_tokens: u64§output_tokens: u64§estimated_cost_cents: u64§created_at: StringTrait Implementations§
Source§impl Clone for UsageLogEntry
impl Clone for UsageLogEntry
Source§impl Debug for UsageLogEntry
impl Debug for UsageLogEntry
Source§impl<'de> Deserialize<'de> for UsageLogEntry
impl<'de> Deserialize<'de> for UsageLogEntry
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
Auto Trait Implementations§
impl Forget for UsageLogEntry
impl Freeze for UsageLogEntry
impl Move for UsageLogEntry
impl RefUnwindSafe for UsageLogEntry
impl Send for UsageLogEntrywhere
RawVecInner: Send,
impl Sync for UsageLogEntrywhere
RawVecInner: Sync,
impl Unpin for UsageLogEntry
impl UnsafeUnpin for UsageLogEntry
impl UnwindSafe for UsageLogEntrywhere
RawVecInner: UnwindSafe,
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