pub struct ProviderStructuredOutputHint {
pub schema_id: OutputSchemaId,
pub schema_version: SchemaVersion,
pub schema_fingerprint: ContentHash,
pub provider_hint_policy: ProviderHintPolicy,
pub include_schema_ref: bool,
pub redacted_schema: Option<Value>,
}Expand description
Carries provider structured output hint data across a host-port boundary. Constructing the value does not call the host; the port method that receives it documents any adapter, network, or storage effect.
Fields§
§schema_id: OutputSchemaIdStable schema id used for typed lineage, lookup, or dedupe.
schema_version: SchemaVersionWire schema version used for compatibility checks.
schema_fingerprint: ContentHashDeterministic schema fingerprint used for stale checks, package evidence, or replay comparisons.
provider_hint_policy: ProviderHintPolicyPolicy for provider-side structured-output hints. Hints may guide prompting but cannot replace SDK-owned validation.
include_schema_ref: boolTyped include schema ref reference. Resolving or executing it is a separate policy-gated step.
redacted_schema: Option<Value>Optional redacted inline schema body available for provider-native structured-output hints. This is only populated when the output contract already carries an inline schema safe for provider projection; SDK-owned validation remains authoritative.
Trait Implementations§
Source§impl Clone for ProviderStructuredOutputHint
impl Clone for ProviderStructuredOutputHint
Source§fn clone(&self) -> ProviderStructuredOutputHint
fn clone(&self) -> ProviderStructuredOutputHint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProviderStructuredOutputHint
impl Debug for ProviderStructuredOutputHint
Source§impl<'de> Deserialize<'de> for ProviderStructuredOutputHint
impl<'de> Deserialize<'de> for ProviderStructuredOutputHint
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>,
impl Eq for ProviderStructuredOutputHint
Source§impl From<&OutputContract> for ProviderStructuredOutputHint
impl From<&OutputContract> for ProviderStructuredOutputHint
Source§fn from(contract: &OutputContract) -> Self
fn from(contract: &OutputContract) -> Self
Source§impl PartialEq for ProviderStructuredOutputHint
impl PartialEq for ProviderStructuredOutputHint
Source§fn eq(&self, other: &ProviderStructuredOutputHint) -> bool
fn eq(&self, other: &ProviderStructuredOutputHint) -> bool
self and other values to be equal, and is used by ==.