pub struct LegacyManifest {
pub schema_version: u32,
pub canon_version: CanonVersion,
pub profile: ProfileId,
pub docs_root: DocsRoot,
pub installed_at: String,
pub managed_files: Vec<LegacyOwnedFile>,
pub integration_blocks: Vec<IntegrationBlock>,
}Expand description
The parts of an older manifest an upgrade needs.
Deliberately permissive: unknown fields of an older version pass through unread, so the upgrader can migrate any instance a previous distribution produced.
Fields§
§schema_version: u32The recorded schema version; the upgrader requires an older one.
canon_version: CanonVersionThe canon release the instance was installed from.
profile: ProfileIdThe profile the instance was installed with.
docs_root: DocsRootThe documentation root the gates read.
installed_at: StringWhen the instance was first installed.
managed_files: Vec<LegacyOwnedFile>Destination and hash of every file the older version managed.
integration_blocks: Vec<IntegrationBlock>The marked regions the older version owned inside project files.
Version 1 recorded none, so the default carries that case. Dropping the field instead would skip the edited-block conflict check on every version-2 upgrade and overwrite the operator’s edits.
Trait Implementations§
Source§impl Clone for LegacyManifest
impl Clone for LegacyManifest
Source§fn clone(&self) -> LegacyManifest
fn clone(&self) -> LegacyManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more