pub type ResponseField = GenerationSchemaProperty;Expand description
Compatibility alias for the older structured-generation property name.
Aliased Type§
pub struct ResponseField {
pub name: GenerationSchemaPropertyName,
pub description: Option<SchemaDescription>,
pub property_type: GenerationSchemaPropertyType,
pub requirement: GenerationSchemaPropertyRequirement,
}Fields§
§name: GenerationSchemaPropertyNameProperty name (matches the JSON key in the model output).
description: Option<SchemaDescription>Optional human-readable hint that guides the model.
property_type: GenerationSchemaPropertyTypeThe expected type of this property.
requirement: GenerationSchemaPropertyRequirementWhether the model must include or may omit this property.