pub struct AgentDiagnostic {Show 19 fields
pub ticket_id: String,
pub ticket_state: String,
pub dispatchable: bool,
pub resolved_from_state: String,
pub transition_label: String,
pub worker_profile_str: String,
pub profile_source: String,
pub agent: String,
pub agent_source: String,
pub role: String,
pub role_source: String,
pub model: Option<String>,
pub model_source: String,
pub container: Option<String>,
pub container_source: String,
pub manifest_path: String,
pub manifest_present: bool,
pub env: Vec<(String, String, String)>,
pub keychain: HashMap<String, String>,
}Fields§
§ticket_id: String§ticket_state: String§dispatchable: boolFalse when the ticket’s current state has no command:start transition.
resolved_from_state: StringThe state whose command:start transition was used for resolution.
Equals ticket_state when dispatchable is true.
transition_label: StringHuman-readable label, e.g. "ready → in_progress".
worker_profile_str: StringThe literal "agent/role" string resolved by the cascade.
profile_source: StringLayer that supplied worker_profile_str.
agent: String§agent_source: String§role: String§role_source: String§model: Option<String>§model_source: String§container: Option<String>§container_source: String§manifest_path: StringPath to .apm/agents/<agent>/<role>.toml (relative), shown whether present or absent.
manifest_present: bool§env: Vec<(String, String, String)>Each entry is (key, value, source_label).
keychain: HashMap<String, String>Auto Trait Implementations§
impl Freeze for AgentDiagnostic
impl RefUnwindSafe for AgentDiagnostic
impl Send for AgentDiagnostic
impl Sync for AgentDiagnostic
impl Unpin for AgentDiagnostic
impl UnsafeUnpin for AgentDiagnostic
impl UnwindSafe for AgentDiagnostic
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