pub struct SelectionDiagnostics {
pub required_runtime: RequiredRuntime,
pub estimated_cores: u32,
pub min_success_rate: f64,
pub fallback_min_success_rate: f64,
pub active_project_exclusion_count: usize,
pub workers: Vec<WorkerSelectionDiagnostic>,
}Expand description
Machine-readable worker selector diagnostics for a selection request.
Fields§
§required_runtime: RequiredRuntimeRequired runtime for this command.
estimated_cores: u32Estimated slots requested by this command.
min_success_rate: f64Normal success-rate threshold.
fallback_min_success_rate: f64Last-success fallback success-rate threshold.
active_project_exclusion_count: usizeCount of workers excluded because they already run this project.
workers: Vec<WorkerSelectionDiagnostic>One diagnostic entry per configured worker.
Trait Implementations§
Source§impl Clone for SelectionDiagnostics
impl Clone for SelectionDiagnostics
Source§impl Debug for SelectionDiagnostics
impl Debug for SelectionDiagnostics
Source§impl<'de> Deserialize<'de> for SelectionDiagnostics
impl<'de> Deserialize<'de> for SelectionDiagnostics
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 JsonSchema for SelectionDiagnostics
impl JsonSchema for SelectionDiagnostics
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SelectionDiagnostics
impl PartialEq for SelectionDiagnostics
Source§impl Serialize for SelectionDiagnostics
impl Serialize for SelectionDiagnostics
impl StructuralPartialEq for SelectionDiagnostics
Auto Trait Implementations§
impl Freeze for SelectionDiagnostics
impl RefUnwindSafe for SelectionDiagnostics
impl Send for SelectionDiagnostics
impl Sync for SelectionDiagnostics
impl Unpin for SelectionDiagnostics
impl UnsafeUnpin for SelectionDiagnostics
impl UnwindSafe for SelectionDiagnostics
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