pub struct CompiledSafeModelBlueprint {Show 19 fields
pub blueprint_fingerprint: Sha256Digest,
pub selection: ModelSelection,
pub source: FrozenProviderSource,
pub config_override_fingerprint: Sha256Digest,
pub setup_binding: FrozenSetupBinding,
pub credential_binding: FrozenCredentialBinding,
pub endpoint_identity: SafeEndpointIdentity,
pub provider_recipe: ProviderRecipeId,
pub protocol_recipe: ProtocolRecipeId,
pub setup_recipe: ProviderSetupRecipeId,
pub auth_method: AuthMethodId,
pub compiler_version: RecipeCompilerVersion,
pub descriptor: LanguageModelDescriptor,
pub defaults: FrozenResolvedRequestDefaults,
pub options: FrozenProviderOptions,
pub static_headers: BTreeMap<HeaderName, SafeStaticHeaderValue>,
pub variants: Vec<FrozenVariantBlueprint>,
pub behavior_fingerprint: Sha256Digest,
pub selection_fingerprint: Sha256Digest,
}Fields§
§blueprint_fingerprint: Sha256Digest§selection: ModelSelection§source: FrozenProviderSource§config_override_fingerprint: Sha256Digest§setup_binding: FrozenSetupBinding§credential_binding: FrozenCredentialBinding§endpoint_identity: SafeEndpointIdentity§provider_recipe: ProviderRecipeId§protocol_recipe: ProtocolRecipeId§setup_recipe: ProviderSetupRecipeId§auth_method: AuthMethodId§compiler_version: RecipeCompilerVersion§descriptor: LanguageModelDescriptor§defaults: FrozenResolvedRequestDefaults§options: FrozenProviderOptions§static_headers: BTreeMap<HeaderName, SafeStaticHeaderValue>§variants: Vec<FrozenVariantBlueprint>§behavior_fingerprint: Sha256Digest§selection_fingerprint: Sha256DigestTrait Implementations§
Source§impl Clone for CompiledSafeModelBlueprint
impl Clone for CompiledSafeModelBlueprint
Source§fn clone(&self) -> CompiledSafeModelBlueprint
fn clone(&self) -> CompiledSafeModelBlueprint
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 CompiledSafeModelBlueprint
impl Debug for CompiledSafeModelBlueprint
Source§impl<'de> Deserialize<'de> for CompiledSafeModelBlueprint
impl<'de> Deserialize<'de> for CompiledSafeModelBlueprint
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CompiledSafeModelBlueprint
impl JsonSchema for CompiledSafeModelBlueprint
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 CompiledSafeModelBlueprint
impl PartialEq for CompiledSafeModelBlueprint
Source§fn eq(&self, other: &CompiledSafeModelBlueprint) -> bool
fn eq(&self, other: &CompiledSafeModelBlueprint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompiledSafeModelBlueprint
Auto Trait Implementations§
impl Freeze for CompiledSafeModelBlueprint
impl RefUnwindSafe for CompiledSafeModelBlueprint
impl Send for CompiledSafeModelBlueprint
impl Sync for CompiledSafeModelBlueprint
impl Unpin for CompiledSafeModelBlueprint
impl UnsafeUnpin for CompiledSafeModelBlueprint
impl UnwindSafe for CompiledSafeModelBlueprint
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