pub struct ExtractBinding {Show 15 fields
pub template_id: PromptTemplateId,
pub template: PromptTemplate,
pub template_binding: TemplateRef,
pub projection: Vec<String>,
pub schema: ExtractionSchema,
pub schema_digest: ContentDigest,
pub vocabularies: BTreeMap<String, ResolvedVocabulary>,
pub distributions: Distributions,
pub limits: ExtractionLimits,
pub backend_id: String,
pub artifact: ArtifactId,
pub descriptor: DescriptorId,
pub output: OutputKind,
pub worst_case_request_bytes: u64,
pub fallback: BoundExtractionFallback,
}Fields§
§template_id: PromptTemplateId§template: PromptTemplate§template_binding: TemplateRef§projection: Vec<String>§schema: ExtractionSchema§schema_digest: ContentDigest§vocabularies: BTreeMap<String, ResolvedVocabulary>§distributions: Distributions§limits: ExtractionLimits§backend_id: String§artifact: ArtifactId§descriptor: DescriptorId§output: OutputKind§worst_case_request_bytes: u64§fallback: BoundExtractionFallbackTrait Implementations§
Source§impl Clone for ExtractBinding
impl Clone for ExtractBinding
Source§impl Debug for ExtractBinding
impl Debug for ExtractBinding
Source§impl<'de> Deserialize<'de> for ExtractBinding
impl<'de> Deserialize<'de> for ExtractBinding
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 ExtractBinding
Source§impl JsonSchema for ExtractBinding
impl JsonSchema for ExtractBinding
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 ExtractBinding
impl PartialEq for ExtractBinding
Source§impl Serialize for ExtractBinding
impl Serialize for ExtractBinding
impl StructuralPartialEq for ExtractBinding
Auto Trait Implementations§
impl Freeze for ExtractBinding
impl RefUnwindSafe for ExtractBinding
impl Send for ExtractBinding
impl Sync for ExtractBinding
impl Unpin for ExtractBinding
impl UnsafeUnpin for ExtractBinding
impl UnwindSafe for ExtractBinding
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