pub struct InferenceModelIdentity {
pub requested_model_id: Option<String>,
pub resolved_model_id: String,
pub row_digest: String,
pub catalog_revision: String,
}Expand description
Result of an inference call, including trace ID for outcome tracking.
Fields§
§requested_model_id: Option<String>Exact immutable model id supplied through the protocol model_id pin.
None for adaptive routing and legacy display-name/alias requests.
resolved_model_id: StringCanonical immutable catalog id actually used after routing/fallback.
row_digest: StringSHA-256 digest of the resolved immutable ModelSchema row.
catalog_revision: StringSHA-256 revision of the exact catalog snapshot captured for this call.
Trait Implementations§
Source§impl Clone for InferenceModelIdentity
impl Clone for InferenceModelIdentity
Source§impl Debug for InferenceModelIdentity
impl Debug for InferenceModelIdentity
Source§impl Default for InferenceModelIdentity
impl Default for InferenceModelIdentity
Source§impl<'de> Deserialize<'de> for InferenceModelIdentity
impl<'de> Deserialize<'de> for InferenceModelIdentity
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 InferenceModelIdentity
Source§impl JsonSchema for InferenceModelIdentity
impl JsonSchema for InferenceModelIdentity
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InferenceModelIdentity
impl PartialEq for InferenceModelIdentity
Source§impl Serialize for InferenceModelIdentity
impl Serialize for InferenceModelIdentity
impl StructuralPartialEq for InferenceModelIdentity
Auto Trait Implementations§
impl Freeze for InferenceModelIdentity
impl RefUnwindSafe for InferenceModelIdentity
impl Send for InferenceModelIdentity
impl Sync for InferenceModelIdentity
impl Unpin for InferenceModelIdentity
impl UnsafeUnpin for InferenceModelIdentity
impl UnwindSafe for InferenceModelIdentity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more