pub struct ProviderContentCounts {Show 20 fields
pub system_message_bytes: usize,
pub user_text_blocks: usize,
pub user_text_bytes: usize,
pub user_image_blocks: usize,
pub user_image_with_media_type: usize,
pub assistant_text_blocks: usize,
pub assistant_text_bytes: usize,
pub assistant_thinking_blocks: usize,
pub assistant_thinking_bytes: usize,
pub assistant_reasoning_blocks: usize,
pub assistant_reasoning_bytes: usize,
pub assistant_reasoning_detail_blocks: usize,
pub assistant_reasoning_detail_bytes: usize,
pub assistant_tool_call_blocks: usize,
pub assistant_error_messages: usize,
pub tool_result_text_blocks: usize,
pub tool_result_text_bytes: usize,
pub tool_result_image_blocks: usize,
pub tool_result_error_messages: usize,
pub custom_payload_bytes: usize,
}Fields§
§system_message_bytes: usize§user_text_blocks: usize§user_text_bytes: usize§user_image_blocks: usize§user_image_with_media_type: usize§assistant_text_blocks: usize§assistant_text_bytes: usize§assistant_thinking_blocks: usize§assistant_thinking_bytes: usize§assistant_reasoning_blocks: usize§assistant_reasoning_bytes: usize§assistant_reasoning_detail_blocks: usize§assistant_reasoning_detail_bytes: usize§assistant_tool_call_blocks: usize§assistant_error_messages: usize§tool_result_text_blocks: usize§tool_result_text_bytes: usize§tool_result_image_blocks: usize§tool_result_error_messages: usize§custom_payload_bytes: usizeTrait Implementations§
Source§impl Clone for ProviderContentCounts
impl Clone for ProviderContentCounts
Source§fn clone(&self) -> ProviderContentCounts
fn clone(&self) -> ProviderContentCounts
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 ProviderContentCounts
impl Debug for ProviderContentCounts
Source§impl Default for ProviderContentCounts
impl Default for ProviderContentCounts
Source§fn default() -> ProviderContentCounts
fn default() -> ProviderContentCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderContentCounts
impl<'de> Deserialize<'de> for ProviderContentCounts
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 ProviderContentCounts
impl PartialEq for ProviderContentCounts
Source§fn eq(&self, other: &ProviderContentCounts) -> bool
fn eq(&self, other: &ProviderContentCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderContentCounts
impl Serialize for ProviderContentCounts
impl Eq for ProviderContentCounts
impl StructuralPartialEq for ProviderContentCounts
Auto Trait Implementations§
impl Freeze for ProviderContentCounts
impl RefUnwindSafe for ProviderContentCounts
impl Send for ProviderContentCounts
impl Sync for ProviderContentCounts
impl Unpin for ProviderContentCounts
impl UnsafeUnpin for ProviderContentCounts
impl UnwindSafe for ProviderContentCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.