pub struct HarnessUsageContentConfig {
pub token_usage: bool,
pub conversation_text: bool,
pub tool_calls: bool,
pub images: bool,
}Expand description
Independent content retention controls for Harness usage events.
Fields§
§token_usage: boolWhether provider token counters are retained.
conversation_text: boolWhether conversation request/response text is retained.
tool_calls: boolWhether tool call and tool result content is retained.
images: boolWhether image metadata and attachments are retained.
Trait Implementations§
Source§impl Clone for HarnessUsageContentConfig
impl Clone for HarnessUsageContentConfig
Source§impl Debug for HarnessUsageContentConfig
impl Debug for HarnessUsageContentConfig
Source§impl Default for HarnessUsageContentConfig
impl Default for HarnessUsageContentConfig
Source§impl<'de> Deserialize<'de> for HarnessUsageContentConfigwhere
HarnessUsageContentConfig: Default,
impl<'de> Deserialize<'de> for HarnessUsageContentConfigwhere
HarnessUsageContentConfig: Default,
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 HarnessUsageContentConfig
impl RefUnwindSafe for HarnessUsageContentConfig
impl Send for HarnessUsageContentConfig
impl Sync for HarnessUsageContentConfig
impl Unpin for HarnessUsageContentConfig
impl UnsafeUnpin for HarnessUsageContentConfig
impl UnwindSafe for HarnessUsageContentConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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