pub struct RuntimeSnapshotV1 {Show 13 fields
pub snapshot_schema_version: RuntimeSnapshotSchemaVersion,
pub recipe_registry_revision: RecipeRegistryRevision,
pub catalog_revision: CatalogRevision,
pub catalog_source: CatalogSource,
pub catalog_state: CatalogRuntimeState,
pub provider_state_revision: ProviderStateRevision,
pub provider_store_generation: ProviderStoreGeneration,
pub model_revision: ModelRevision,
pub agent_revision: AgentRevision,
pub runtime_revision: RuntimeRevision,
pub providers: Vec<ProviderDescriptor>,
pub models: Vec<AvailableModelDescriptor>,
pub agents: Vec<AgentDescriptor>,
}Fields§
§snapshot_schema_version: RuntimeSnapshotSchemaVersion§recipe_registry_revision: RecipeRegistryRevision§catalog_revision: CatalogRevision§catalog_source: CatalogSource§catalog_state: CatalogRuntimeState§provider_state_revision: ProviderStateRevision§provider_store_generation: ProviderStoreGeneration§model_revision: ModelRevision§agent_revision: AgentRevision§runtime_revision: RuntimeRevision§providers: Vec<ProviderDescriptor>§models: Vec<AvailableModelDescriptor>§agents: Vec<AgentDescriptor>Implementations§
Trait Implementations§
Source§impl Clone for RuntimeSnapshotV1
impl Clone for RuntimeSnapshotV1
Source§fn clone(&self) -> RuntimeSnapshotV1
fn clone(&self) -> RuntimeSnapshotV1
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 RuntimeSnapshotV1
impl Debug for RuntimeSnapshotV1
Source§impl<'de> Deserialize<'de> for RuntimeSnapshotV1
impl<'de> Deserialize<'de> for RuntimeSnapshotV1
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 RuntimeSnapshotV1
Source§impl JsonSchema for RuntimeSnapshotV1
impl JsonSchema for RuntimeSnapshotV1
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 RuntimeSnapshotV1
impl PartialEq for RuntimeSnapshotV1
Source§fn eq(&self, other: &RuntimeSnapshotV1) -> bool
fn eq(&self, other: &RuntimeSnapshotV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeSnapshotV1
impl Serialize for RuntimeSnapshotV1
impl StructuralPartialEq for RuntimeSnapshotV1
Auto Trait Implementations§
impl Freeze for RuntimeSnapshotV1
impl RefUnwindSafe for RuntimeSnapshotV1
impl Send for RuntimeSnapshotV1
impl Sync for RuntimeSnapshotV1
impl Unpin for RuntimeSnapshotV1
impl UnsafeUnpin for RuntimeSnapshotV1
impl UnwindSafe for RuntimeSnapshotV1
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