pub struct BackgroundAgent {
pub id: String,
pub agent_type: String,
pub status: AgentStatus,
pub task: Option<String>,
pub started_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
A background agent running in a session
Fields§
§id: StringUnique identifier for the agent
agent_type: StringType of agent (e.g., “code_review”, “diff_analysis”)
status: AgentStatusCurrent status of the agent
task: Option<String>Task being executed
started_at: DateTime<Utc>When the agent was started
completed_at: Option<DateTime<Utc>>When the agent completed (if finished)
Implementations§
Trait Implementations§
Source§impl Clone for BackgroundAgent
impl Clone for BackgroundAgent
Source§fn clone(&self) -> BackgroundAgent
fn clone(&self) -> BackgroundAgent
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 BackgroundAgent
impl Debug for BackgroundAgent
Source§impl<'de> Deserialize<'de> for BackgroundAgent
impl<'de> Deserialize<'de> for BackgroundAgent
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 BackgroundAgent
impl RefUnwindSafe for BackgroundAgent
impl Send for BackgroundAgent
impl Sync for BackgroundAgent
impl Unpin for BackgroundAgent
impl UnwindSafe for BackgroundAgent
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