pub struct GoogleAiMetadata {
pub promptTokenCount: usize,
pub candidatesTokenCount: usize,
pub totalTokenCount: usize,
pub thoughtsTokenCount: usize,
pub promptTokensDetails: Vec<GoogleAiTokenDetail>,
}Fields§
§promptTokenCount: usize§candidatesTokenCount: usize§totalTokenCount: usize§thoughtsTokenCount: usize§promptTokensDetails: Vec<GoogleAiTokenDetail>Trait Implementations§
Source§impl DeJson for GoogleAiMetadata
impl DeJson for GoogleAiMetadata
Source§impl Debug for GoogleAiMetadata
impl Debug for GoogleAiMetadata
Source§impl SerJson for GoogleAiMetadata
impl SerJson for GoogleAiMetadata
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
Auto Trait Implementations§
impl Freeze for GoogleAiMetadata
impl RefUnwindSafe for GoogleAiMetadata
impl Send for GoogleAiMetadata
impl Sync for GoogleAiMetadata
impl Unpin for GoogleAiMetadata
impl UnwindSafe for GoogleAiMetadata
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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