pub struct GenerateBinding {
pub output_screener: Option<ScreenerBinding>,
pub template_id: PromptTemplateId,
pub template: PromptTemplate,
pub helpers_version: String,
pub backend_id: String,
pub artifact: ArtifactId,
pub descriptor: DescriptorId,
pub output: OutputSchema,
pub vocabularies: BTreeMap<String, Vec<String>>,
pub max_items: u64,
pub worst_case_requests: u64,
pub worst_case_projection_bytes: u64,
}Fields§
§output_screener: Option<ScreenerBinding>§template_id: PromptTemplateId§template: PromptTemplate§helpers_version: String§backend_id: String§artifact: ArtifactId§descriptor: DescriptorId§output: OutputSchema§vocabularies: BTreeMap<String, Vec<String>>§max_items: u64§worst_case_requests: u64§worst_case_projection_bytes: u64Trait Implementations§
Source§impl Clone for GenerateBinding
impl Clone for GenerateBinding
Source§impl Debug for GenerateBinding
impl Debug for GenerateBinding
Source§impl<'de> Deserialize<'de> for GenerateBinding
impl<'de> Deserialize<'de> for GenerateBinding
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
impl Eq for GenerateBinding
Source§impl JsonSchema for GenerateBinding
impl JsonSchema for GenerateBinding
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for GenerateBinding
impl PartialEq for GenerateBinding
Source§impl Serialize for GenerateBinding
impl Serialize for GenerateBinding
impl StructuralPartialEq for GenerateBinding
Auto Trait Implementations§
impl Freeze for GenerateBinding
impl RefUnwindSafe for GenerateBinding
impl Send for GenerateBinding
impl Sync for GenerateBinding
impl Unpin for GenerateBinding
impl UnsafeUnpin for GenerateBinding
impl UnwindSafe for GenerateBinding
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