pub struct OpenAiTextFormatHint {
pub kind: String,
pub name: String,
pub schema_version: String,
pub schema_fingerprint: String,
pub include_schema_ref: bool,
pub schema: Option<Value>,
}Expand description
Structured-output text format hint for Responses-compatible providers.
Fields§
§kind: StringProvider text format type.
name: StringStable schema id.
schema_version: StringSchema semantic version.
schema_fingerprint: StringSDK-owned schema fingerprint.
include_schema_ref: boolWhether the host should include the schema ref in the provider request.
schema: Option<Value>Redacted inline schema body when the SDK output contract made one available for provider-native structured-output hints.
Trait Implementations§
Source§impl Clone for OpenAiTextFormatHint
impl Clone for OpenAiTextFormatHint
Source§fn clone(&self) -> OpenAiTextFormatHint
fn clone(&self) -> OpenAiTextFormatHint
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 OpenAiTextFormatHint
impl Debug for OpenAiTextFormatHint
Source§impl<'de> Deserialize<'de> for OpenAiTextFormatHint
impl<'de> Deserialize<'de> for OpenAiTextFormatHint
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 PartialEq for OpenAiTextFormatHint
impl PartialEq for OpenAiTextFormatHint
Source§fn eq(&self, other: &OpenAiTextFormatHint) -> bool
fn eq(&self, other: &OpenAiTextFormatHint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenAiTextFormatHint
impl Serialize for OpenAiTextFormatHint
impl Eq for OpenAiTextFormatHint
impl StructuralPartialEq for OpenAiTextFormatHint
Auto Trait Implementations§
impl Freeze for OpenAiTextFormatHint
impl RefUnwindSafe for OpenAiTextFormatHint
impl Send for OpenAiTextFormatHint
impl Sync for OpenAiTextFormatHint
impl Unpin for OpenAiTextFormatHint
impl UnsafeUnpin for OpenAiTextFormatHint
impl UnwindSafe for OpenAiTextFormatHint
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