pub struct PreflightReport {
pub native_tool_calling: ProbeOutcome,
pub structured_output: ProbeOutcome,
pub notes: Vec<String>,
}Expand description
What the live endpoint actually did when probed.
Fields§
§native_tool_calling: ProbeOutcomeOutcome of the forced-tool-call probe.
structured_output: ProbeOutcomeOutcome of the schema-constrained structured-output probe.
notes: Vec<String>Human-readable notes (parse failures, transport errors) for logging.
Implementations§
Source§impl PreflightReport
impl PreflightReport
Sourcepub fn has_unsupported(&self) -> bool
pub fn has_unsupported(&self) -> bool
A probe gave a definitive negative capability verdict (ran, didn’t honor the constraint). This — not a transport error — is what justifies failing startup under a strict policy.
Trait Implementations§
Source§impl Clone for PreflightReport
impl Clone for PreflightReport
Source§fn clone(&self) -> PreflightReport
fn clone(&self) -> PreflightReport
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 PreflightReport
impl Debug for PreflightReport
impl Eq for PreflightReport
Source§impl PartialEq for PreflightReport
impl PartialEq for PreflightReport
impl StructuralPartialEq for PreflightReport
Auto Trait Implementations§
impl Freeze for PreflightReport
impl RefUnwindSafe for PreflightReport
impl Send for PreflightReport
impl Sync for PreflightReport
impl Unpin for PreflightReport
impl UnsafeUnpin for PreflightReport
impl UnwindSafe for PreflightReport
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