pub struct AgentSelection {
pub schema_version: u32,
pub profile: String,
pub selection_source: String,
pub interaction: String,
pub capability: String,
pub residency: String,
pub requested_harness: Option<String>,
pub selected: SelectedAgentCandidate,
pub fallback: Vec<SkippedAgentCandidate>,
}Expand description
Compact profile resolution recorded at create time.
Fields§
§schema_version: u32Compact selection schema version (currently 1).
profile: StringRequested and selected user profile name.
selection_source: StringPrecedence layer that supplied the request.
interaction: StringExplicit create-time interaction mode.
capability: StringDeclared profile capability tier.
residency: StringDeclared profile residency class.
requested_harness: Option<String>Legacy harness alias requested at the winning layer, when applicable.
selected: SelectedAgentCandidateFirst statically eligible candidate.
fallback: Vec<SkippedAgentCandidate>Earlier candidates and their single deterministic skip reasons.
Implementations§
Trait Implementations§
Source§impl Clone for AgentSelection
impl Clone for AgentSelection
Source§impl Debug for AgentSelection
impl Debug for AgentSelection
Source§impl<'de> Deserialize<'de> for AgentSelection
impl<'de> Deserialize<'de> for AgentSelection
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 AgentSelection
Source§impl PartialEq for AgentSelection
impl PartialEq for AgentSelection
Source§impl Serialize for AgentSelection
impl Serialize for AgentSelection
impl StructuralPartialEq for AgentSelection
Auto Trait Implementations§
impl Freeze for AgentSelection
impl RefUnwindSafe for AgentSelection
impl Send for AgentSelection
impl Sync for AgentSelection
impl Unpin for AgentSelection
impl UnsafeUnpin for AgentSelection
impl UnwindSafe for AgentSelection
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