pub struct OpenAiInputTokensDetails {
pub cached_tokens: u64,
}Fields§
§cached_tokens: u64Trait Implementations§
Source§impl Clone for OpenAiInputTokensDetails
impl Clone for OpenAiInputTokensDetails
Source§fn clone(&self) -> OpenAiInputTokensDetails
fn clone(&self) -> OpenAiInputTokensDetails
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 OpenAiInputTokensDetails
impl Debug for OpenAiInputTokensDetails
Source§impl<'de> Deserialize<'de> for OpenAiInputTokensDetails
impl<'de> Deserialize<'de> for OpenAiInputTokensDetails
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
impl Eq for OpenAiInputTokensDetails
Source§impl PartialEq for OpenAiInputTokensDetails
impl PartialEq for OpenAiInputTokensDetails
Source§impl Serialize for OpenAiInputTokensDetails
impl Serialize for OpenAiInputTokensDetails
impl StructuralPartialEq for OpenAiInputTokensDetails
Auto Trait Implementations§
impl Freeze for OpenAiInputTokensDetails
impl RefUnwindSafe for OpenAiInputTokensDetails
impl Send for OpenAiInputTokensDetails
impl Sync for OpenAiInputTokensDetails
impl Unpin for OpenAiInputTokensDetails
impl UnsafeUnpin for OpenAiInputTokensDetails
impl UnwindSafe for OpenAiInputTokensDetails
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