pub struct HarnessNativeSessionPreviewV1 {
pub title: Option<String>,
pub modified_at_unix_ms: Option<u64>,
pub model: Option<String>,
pub message_count: u64,
pub message_count_exact: bool,
pub completed_turn_count: Option<u64>,
pub total_tokens: Option<u64>,
pub truncated: bool,
pub messages: Vec<HarnessNativeSessionPreviewMessageV1>,
}Fields§
§title: Option<String>§modified_at_unix_ms: Option<u64>§model: Option<String>§message_count: u64§message_count_exact: bool§completed_turn_count: Option<u64>§total_tokens: Option<u64>§truncated: bool§messages: Vec<HarnessNativeSessionPreviewMessageV1>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessNativeSessionPreviewV1
impl<'de> Deserialize<'de> for HarnessNativeSessionPreviewV1
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
impl Eq for HarnessNativeSessionPreviewV1
impl StructuralPartialEq for HarnessNativeSessionPreviewV1
Auto Trait Implementations§
impl Freeze for HarnessNativeSessionPreviewV1
impl RefUnwindSafe for HarnessNativeSessionPreviewV1
impl Send for HarnessNativeSessionPreviewV1
impl Sync for HarnessNativeSessionPreviewV1
impl Unpin for HarnessNativeSessionPreviewV1
impl UnsafeUnpin for HarnessNativeSessionPreviewV1
impl UnwindSafe for HarnessNativeSessionPreviewV1
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