pub struct RegistryEntry {
pub name: String,
pub kind: InstallKind,
pub source: String,
pub profile: String,
pub targets: Vec<RegistryTarget>,
pub installed_at: u64,
pub artifact_id: Option<String>,
pub previous_artifact_id: Option<String>,
pub config_hash: Option<String>,
pub plan_hash: Option<String>,
pub source_revision: Option<String>,
pub backend: Option<BackendKind>,
}Expand description
Persisted record of a managed installation and its activation targets.
Fields§
§name: StringCanonical component or skill name.
kind: InstallKindWhether the entry represents a tool or a skill.
source: StringCanonical source identity recorded for status and recovery.
profile: StringProfile that requested the installation.
targets: Vec<RegistryTarget>Managed filesystem targets owned by this entry.
installed_at: u64Unix timestamp at which the entry was committed.
artifact_id: Option<String>Immutable artifact currently activated for the entry, when applicable.
previous_artifact_id: Option<String>Artifact that can be restored when the current activation is removed.
config_hash: Option<String>Canonical configuration hash associated with the installation run.
plan_hash: Option<String>Immutable execution-plan hash associated with the installation run.
source_revision: Option<String>Resolved upstream revision, when the backend has one.
backend: Option<BackendKind>Typed backend responsible for the managed tool lifecycle.
Implementations§
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
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 RegistryEntry
impl Debug for RegistryEntry
Source§impl<'de> Deserialize<'de> for RegistryEntry
impl<'de> Deserialize<'de> for RegistryEntry
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 RegistryEntry
Source§impl JsonSchema for RegistryEntry
impl JsonSchema for RegistryEntry
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 RegistryEntry
impl PartialEq for RegistryEntry
Source§impl Serialize for RegistryEntry
impl Serialize for RegistryEntry
impl StructuralPartialEq for RegistryEntry
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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
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.