pub struct AgentPhaseState {
pub phase: AgentPhase,
pub session_id: String,
pub label: Option<String>,
pub issue: Option<u64>,
pub pr: Option<u64>,
pub branch: Option<String>,
pub confidence: f32,
pub detected_at: String,
pub signals: Vec<String>,
}Expand description
Snapshot of a single agent’s detected phase.
Fields§
§phase: AgentPhase§session_id: String§label: Option<String>§issue: Option<u64>§pr: Option<u64>§branch: Option<String>§confidence: f32§detected_at: String§signals: Vec<String>Trait Implementations§
Source§impl Clone for AgentPhaseState
impl Clone for AgentPhaseState
Source§fn clone(&self) -> AgentPhaseState
fn clone(&self) -> AgentPhaseState
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 Debug for AgentPhaseState
impl Debug for AgentPhaseState
Source§impl<'de> Deserialize<'de> for AgentPhaseState
impl<'de> Deserialize<'de> for AgentPhaseState
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 AgentPhaseState
impl RefUnwindSafe for AgentPhaseState
impl Send for AgentPhaseState
impl Sync for AgentPhaseState
impl Unpin for AgentPhaseState
impl UnsafeUnpin for AgentPhaseState
impl UnwindSafe for AgentPhaseState
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