pub struct SelectedAgentCandidate {
pub candidate_index: u8,
pub harness: String,
pub command: Vec<String>,
pub telemetry: Option<String>,
}Expand description
Exact selected candidate pinned for launch and retry.
Fields§
§candidate_index: u8Zero-based position in the profile’s ordered candidate list.
harness: StringSelected harness (pi or claude).
command: Vec<String>Exact user-owned argv; never a shell string.
telemetry: Option<String>Declared telemetry adapter protocol, when configured.
Implementations§
Source§impl SelectedAgentCandidate
impl SelectedAgentCandidate
Sourcepub fn supports_worker_telemetry_v1(&self) -> bool
pub fn supports_worker_telemetry_v1(&self) -> bool
Whether recorded policy configures the public worker telemetry v1 adapter. This is configuration support, not runtime attestation or a claim that any sample has arrived.
Trait Implementations§
Source§impl Clone for SelectedAgentCandidate
impl Clone for SelectedAgentCandidate
Source§impl Debug for SelectedAgentCandidate
impl Debug for SelectedAgentCandidate
Source§impl<'de> Deserialize<'de> for SelectedAgentCandidate
impl<'de> Deserialize<'de> for SelectedAgentCandidate
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 SelectedAgentCandidate
Source§impl PartialEq for SelectedAgentCandidate
impl PartialEq for SelectedAgentCandidate
Source§impl Serialize for SelectedAgentCandidate
impl Serialize for SelectedAgentCandidate
impl StructuralPartialEq for SelectedAgentCandidate
Auto Trait Implementations§
impl Freeze for SelectedAgentCandidate
impl RefUnwindSafe for SelectedAgentCandidate
impl Send for SelectedAgentCandidate
impl Sync for SelectedAgentCandidate
impl Unpin for SelectedAgentCandidate
impl UnsafeUnpin for SelectedAgentCandidate
impl UnwindSafe for SelectedAgentCandidate
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