#[non_exhaustive]pub struct ConsumptionUsageGroup {
pub dimensions: BTreeMap<String, String>,
pub is_other: Option<bool>,
pub credits: Number,
pub on_demand_credits: Option<Number>,
pub uncached_text_input_tokens: Option<i64>,
pub cached_text_input_tokens: Option<i64>,
pub text_output_tokens: Option<i64>,
pub text_total_tokens: Option<i64>,
pub total_tokens: Option<i64>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dimensions: BTreeMap<String, String>§is_other: Option<bool>§credits: Number§on_demand_credits: Option<Number>§uncached_text_input_tokens: Option<i64>§cached_text_input_tokens: Option<i64>§text_output_tokens: Option<i64>§text_total_tokens: Option<i64>§total_tokens: Option<i64>§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for ConsumptionUsageGroup
impl Clone for ConsumptionUsageGroup
Source§impl Debug for ConsumptionUsageGroup
impl Debug for ConsumptionUsageGroup
Source§impl DeclaredFields for ConsumptionUsageGroup
impl DeclaredFields for ConsumptionUsageGroup
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ConsumptionUsageGroup
impl<'de> Deserialize<'de> for ConsumptionUsageGroup
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 ConsumptionUsageGroup
impl PartialEq for ConsumptionUsageGroup
Source§impl Serialize for ConsumptionUsageGroup
impl Serialize for ConsumptionUsageGroup
impl StructuralPartialEq for ConsumptionUsageGroup
Auto Trait Implementations§
impl Freeze for ConsumptionUsageGroup
impl RefUnwindSafe for ConsumptionUsageGroup
impl Send for ConsumptionUsageGroup
impl Sync for ConsumptionUsageGroup
impl Unpin for ConsumptionUsageGroup
impl UnsafeUnpin for ConsumptionUsageGroup
impl UnwindSafe for ConsumptionUsageGroup
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