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,
}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.
Trait Implementations§
Source§impl Clone for ProviderStructuredOutputHint
impl Clone for ProviderStructuredOutputHint
Source§fn clone(&self) -> ProviderStructuredOutputHint
fn clone(&self) -> ProviderStructuredOutputHint
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 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OutputContract> for ProviderStructuredOutputHint
impl From<&OutputContract> for ProviderStructuredOutputHint
Source§fn from(contract: &OutputContract) -> Self
fn from(contract: &OutputContract) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProviderStructuredOutputHint
impl PartialEq for ProviderStructuredOutputHint
Source§fn eq(&self, other: &ProviderStructuredOutputHint) -> bool
fn eq(&self, other: &ProviderStructuredOutputHint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProviderStructuredOutputHint
impl StructuralPartialEq for ProviderStructuredOutputHint
Auto Trait Implementations§
impl Freeze for ProviderStructuredOutputHint
impl RefUnwindSafe for ProviderStructuredOutputHint
impl Send for ProviderStructuredOutputHint
impl Sync for ProviderStructuredOutputHint
impl Unpin for ProviderStructuredOutputHint
impl UnsafeUnpin for ProviderStructuredOutputHint
impl UnwindSafe for ProviderStructuredOutputHint
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