pub struct CandidateSpec {
pub backend: String,
pub model: String,
}Expand description
One backend+model pairing in the heterogeneous dispatch pool
(MissionConfig::worker_candidates, ticket heterogeneous-dispatch-pool
/ KRZ-303). Structured rather than a "backend/model" string so
config::validate can apply the exact same backend/model pair checks as a
role selection.
Fields§
§backend: StringBackend name, same vocabulary as RoleConfig::backend. local and
acp are rejected at validation in this pass: their per-role
endpoint/command config (baseUrl/acpCommand) has no per-candidate
home yet — a deliberate widening, never a silent share.
model: StringModel alias or id, interpreted against backend’s table by the same
effective_model / model_tier rules as a role selection.
Trait Implementations§
Source§impl Clone for CandidateSpec
impl Clone for CandidateSpec
Source§fn clone(&self) -> CandidateSpec
fn clone(&self) -> CandidateSpec
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 CandidateSpec
impl Debug for CandidateSpec
Source§impl<'de> Deserialize<'de> for CandidateSpec
impl<'de> Deserialize<'de> for CandidateSpec
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
Source§impl PartialEq for CandidateSpec
impl PartialEq for CandidateSpec
Source§impl Serialize for CandidateSpec
impl Serialize for CandidateSpec
impl StructuralPartialEq for CandidateSpec
Auto Trait Implementations§
impl Freeze for CandidateSpec
impl RefUnwindSafe for CandidateSpec
impl Send for CandidateSpec
impl Sync for CandidateSpec
impl Unpin for CandidateSpec
impl UnsafeUnpin for CandidateSpec
impl UnwindSafe for CandidateSpec
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