pub struct SessionMetadataContextInfoResult {
pub context_info: Option<SessionMetadataContextInfoResultContextInfo>,
}Expand description
Token breakdown for the session’s current context window, or null if uninitialized.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§context_info: Option<SessionMetadataContextInfoResultContextInfo>Token breakdown for the current context window, or null if the session has not yet been initialized (no system prompt or tool metadata cached).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionMetadataContextInfoResult
impl<'de> Deserialize<'de> for SessionMetadataContextInfoResult
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
Auto Trait Implementations§
impl Freeze for SessionMetadataContextInfoResult
impl RefUnwindSafe for SessionMetadataContextInfoResult
impl Send for SessionMetadataContextInfoResult
impl Sync for SessionMetadataContextInfoResult
impl Unpin for SessionMetadataContextInfoResult
impl UnsafeUnpin for SessionMetadataContextInfoResult
impl UnwindSafe for SessionMetadataContextInfoResult
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