pub struct ModelSnapshotPayloadV1 {
pub catalog_revision: CatalogRevision,
pub recipe_registry_revision: RecipeRegistryRevision,
pub provider_state_revision: ProviderStateRevision,
pub model_revision: ModelRevision,
pub blueprints: Vec<CompiledSafeModelBlueprint>,
}Fields§
§catalog_revision: CatalogRevision§recipe_registry_revision: RecipeRegistryRevision§provider_state_revision: ProviderStateRevision§model_revision: ModelRevision§blueprints: Vec<CompiledSafeModelBlueprint>Trait Implementations§
Source§impl Clone for ModelSnapshotPayloadV1
impl Clone for ModelSnapshotPayloadV1
Source§fn clone(&self) -> ModelSnapshotPayloadV1
fn clone(&self) -> ModelSnapshotPayloadV1
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 ModelSnapshotPayloadV1
impl Debug for ModelSnapshotPayloadV1
Source§impl<'de> Deserialize<'de> for ModelSnapshotPayloadV1
impl<'de> Deserialize<'de> for ModelSnapshotPayloadV1
Source§fn deserialize<D>(
d: D,
) -> Result<ModelSnapshotPayloadV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
d: D,
) -> Result<ModelSnapshotPayloadV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ModelSnapshotPayloadV1
impl JsonSchema for ModelSnapshotPayloadV1
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 ModelSnapshotPayloadV1
impl PartialEq for ModelSnapshotPayloadV1
Source§fn eq(&self, other: &ModelSnapshotPayloadV1) -> bool
fn eq(&self, other: &ModelSnapshotPayloadV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelSnapshotPayloadV1
impl Serialize for ModelSnapshotPayloadV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ModelSnapshotPayloadV1
Auto Trait Implementations§
impl Freeze for ModelSnapshotPayloadV1
impl RefUnwindSafe for ModelSnapshotPayloadV1
impl Send for ModelSnapshotPayloadV1
impl Sync for ModelSnapshotPayloadV1
impl Unpin for ModelSnapshotPayloadV1
impl UnsafeUnpin for ModelSnapshotPayloadV1
impl UnwindSafe for ModelSnapshotPayloadV1
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