pub struct CacheReadBySlot {
pub system: Option<u32>,
pub tools: Option<u32>,
pub messages: Option<u32>,
}Expand description
I1: per-slot attribution of Anthropic cache_read_input_tokens. Each field is None when that
slot did not carry a cache_control breakpoint on the request. Mirrors the Node SDK shape.
Fields§
§system: Option<u32>§tools: Option<u32>§messages: Option<u32>Trait Implementations§
Source§impl Clone for CacheReadBySlot
impl Clone for CacheReadBySlot
Source§fn clone(&self) -> CacheReadBySlot
fn clone(&self) -> CacheReadBySlot
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 CacheReadBySlot
impl Debug for CacheReadBySlot
Source§impl Default for CacheReadBySlot
impl Default for CacheReadBySlot
Source§fn default() -> CacheReadBySlot
fn default() -> CacheReadBySlot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CacheReadBySlot
impl RefUnwindSafe for CacheReadBySlot
impl Send for CacheReadBySlot
impl Sync for CacheReadBySlot
impl Unpin for CacheReadBySlot
impl UnsafeUnpin for CacheReadBySlot
impl UnwindSafe for CacheReadBySlot
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