pub struct ActivityDetail {
pub tool_name: Option<String>,
pub started_at: DateTime<Utc>,
pub context: Option<String>,
}Expand description
Detailed information about current session activity.
Provides structured details alongside the simple SessionStatus enum. This separates “what state are we in” from “what specifically is happening”.
Fields§
§tool_name: Option<String>Tool name if running/waiting on a tool
started_at: DateTime<Utc>When the current activity started
context: Option<String>Additional context (e.g., “Compacting”, “Setup”, “Thinking”)
Implementations§
Source§impl ActivityDetail
impl ActivityDetail
Sourcepub fn with_context(context: &str) -> Self
pub fn with_context(context: &str) -> Self
Creates an ActivityDetail with context but no specific tool.
Trait Implementations§
Source§impl Clone for ActivityDetail
impl Clone for ActivityDetail
Source§fn clone(&self) -> ActivityDetail
fn clone(&self) -> ActivityDetail
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivityDetail
impl Debug for ActivityDetail
Source§impl Default for ActivityDetail
impl Default for ActivityDetail
Source§impl<'de> Deserialize<'de> for ActivityDetail
impl<'de> Deserialize<'de> for ActivityDetail
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
Source§impl PartialEq for ActivityDetail
impl PartialEq for ActivityDetail
Source§impl Serialize for ActivityDetail
impl Serialize for ActivityDetail
impl Eq for ActivityDetail
impl StructuralPartialEq for ActivityDetail
Auto Trait Implementations§
impl Freeze for ActivityDetail
impl RefUnwindSafe for ActivityDetail
impl Send for ActivityDetail
impl Sync for ActivityDetail
impl Unpin for ActivityDetail
impl UnsafeUnpin for ActivityDetail
impl UnwindSafe for ActivityDetail
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