pub struct LLMUsageSummary {
pub billing_period: Option<LLMUsageSummaryBillingPeriod>,
pub by_model: Option<Vec<String>>,
pub limits: Option<LLMUsageSummaryLimits>,
pub plan: Option<String>,
pub usage: Option<LLMUsageSummaryUsage>,
}Expand description
LLMUsageSummary model.
Fields§
§billing_period: Option<LLMUsageSummaryBillingPeriod>§by_model: Option<Vec<String>>§limits: Option<LLMUsageSummaryLimits>§plan: Option<String>§usage: Option<LLMUsageSummaryUsage>Trait Implementations§
Source§impl Clone for LLMUsageSummary
impl Clone for LLMUsageSummary
Source§fn clone(&self) -> LLMUsageSummary
fn clone(&self) -> LLMUsageSummary
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 LLMUsageSummary
impl Debug for LLMUsageSummary
Source§impl Default for LLMUsageSummary
impl Default for LLMUsageSummary
Source§fn default() -> LLMUsageSummary
fn default() -> LLMUsageSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LLMUsageSummary
impl<'de> Deserialize<'de> for LLMUsageSummary
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 LLMUsageSummary
impl PartialEq for LLMUsageSummary
Source§impl Serialize for LLMUsageSummary
impl Serialize for LLMUsageSummary
impl StructuralPartialEq for LLMUsageSummary
Auto Trait Implementations§
impl Freeze for LLMUsageSummary
impl RefUnwindSafe for LLMUsageSummary
impl Send for LLMUsageSummary
impl Sync for LLMUsageSummary
impl Unpin for LLMUsageSummary
impl UnsafeUnpin for LLMUsageSummary
impl UnwindSafe for LLMUsageSummary
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