pub struct DispatchDecision {
pub schema_version: String,
pub case_id: VerificationCaseId,
pub plan_id: CheckPlanId,
pub trace_ctx: TraceCtx,
pub provider_kind: String,
pub backend_kind: String,
pub execution_mode_label: String,
pub dispatch_path: DispatchPathKind,
pub query_mode: String,
pub dispatch_reason: String,
pub stop_reason: ExecutionStopReason,
}Expand description
Per-turn dispatch truth: which backend ran and why.
Fields§
§schema_version: String§case_id: VerificationCaseId§plan_id: CheckPlanId§trace_ctx: TraceCtx§provider_kind: String§backend_kind: String§execution_mode_label: String§dispatch_path: DispatchPathKind§query_mode: String§dispatch_reason: String§stop_reason: ExecutionStopReasonImplementations§
Source§impl DispatchDecision
impl DispatchDecision
pub fn new( case_id: VerificationCaseId, plan_id: CheckPlanId, trace_ctx: TraceCtx, provider_kind: impl Into<String>, backend_kind: impl Into<String>, execution_mode_label: impl Into<String>, dispatch_path: DispatchPathKind, query_mode: impl Into<String>, dispatch_reason: impl Into<String>, stop_reason: ExecutionStopReason, ) -> Self
Trait Implementations§
Source§impl Clone for DispatchDecision
impl Clone for DispatchDecision
Source§fn clone(&self) -> DispatchDecision
fn clone(&self) -> DispatchDecision
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 DispatchDecision
impl Debug for DispatchDecision
Source§impl<'de> Deserialize<'de> for DispatchDecision
impl<'de> Deserialize<'de> for DispatchDecision
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 DispatchDecision
Source§impl JsonSchema for DispatchDecision
impl JsonSchema for DispatchDecision
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DispatchDecision
impl PartialEq for DispatchDecision
Source§fn eq(&self, other: &DispatchDecision) -> bool
fn eq(&self, other: &DispatchDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DispatchDecision
impl Serialize for DispatchDecision
impl StructuralPartialEq for DispatchDecision
Auto Trait Implementations§
impl Freeze for DispatchDecision
impl RefUnwindSafe for DispatchDecision
impl Send for DispatchDecision
impl Sync for DispatchDecision
impl Unpin for DispatchDecision
impl UnsafeUnpin for DispatchDecision
impl UnwindSafe for DispatchDecision
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