pub struct MetadataContextAttributionResult {
pub context_attribution: Option<MetadataContextAttributionResultContextAttribution>,
}Expand description
Per-source attribution 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_attribution: Option<MetadataContextAttributionResultContextAttribution>Per-source context-window attribution, or null if the session has not yet been initialized (no system prompt or tool metadata cached).
Trait Implementations§
Source§impl Clone for MetadataContextAttributionResult
impl Clone for MetadataContextAttributionResult
Source§fn clone(&self) -> MetadataContextAttributionResult
fn clone(&self) -> MetadataContextAttributionResult
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 Default for MetadataContextAttributionResult
impl Default for MetadataContextAttributionResult
Source§fn default() -> MetadataContextAttributionResult
fn default() -> MetadataContextAttributionResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataContextAttributionResult
impl<'de> Deserialize<'de> for MetadataContextAttributionResult
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 MetadataContextAttributionResult
impl RefUnwindSafe for MetadataContextAttributionResult
impl Send for MetadataContextAttributionResult
impl Sync for MetadataContextAttributionResult
impl Unpin for MetadataContextAttributionResult
impl UnsafeUnpin for MetadataContextAttributionResult
impl UnwindSafe for MetadataContextAttributionResult
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