pub struct ReleaseManifest {Show 19 fields
pub schema_version: u32,
pub kind: String,
pub box_id: String,
pub model_id: String,
pub runtime_id: String,
pub version: String,
pub target: BoxTarget,
pub compatibility: Compatibility,
pub archive: Archive,
pub installed_size_bytes: Option<u64>,
pub payload_digest: Option<PayloadDigestCommitment>,
pub python_entry_point: String,
pub model_cache_subdir: String,
pub environment: Option<BTreeMap<String, String>>,
pub self_test: SelfTest,
pub execution: Option<Execution>,
pub provenance: Provenance,
pub weights: Option<String>,
pub assets: Option<Vec<AssetDescriptor>>,
}Expand description
The immutable description of one built box.
Fields§
§schema_version: u32Format version; always 2.
kind: String<namespace>.release, in the publishing project’s own namespace.
box_id: StringBox identity.
model_id: StringModel identity.
runtime_id: StringInstalled-directory identity.
version: StringBox version.
target: BoxTargetThe target this box was built for.
compatibility: CompatibilityHost requirements.
archive: ArchiveThe archive this release commits to.
installed_size_bytes: Option<u64>Logical payload size before anything is written into the installed tree.
payload_digest: Option<PayloadDigestCommitment>Commitment to the extracted tree, absent on boxes built before it existed.
python_entry_point: StringInterpreter path, relative to the box root.
model_cache_subdir: StringWhere a caller’s model cache belongs inside the box.
environment: Option<BTreeMap<String, String>>Signed environment applied whenever Scrollcase runs the interpreter.
self_test: SelfTestThe import check.
execution: Option<Execution>The optional application entry point.
provenance: ProvenanceHow the box was produced.
weights: Option<String>Present only when assets are carried outside the archive.
assets: Option<Vec<AssetDescriptor>>Descriptors of the assets a caller must materialise.
Implementations§
Trait Implementations§
Source§impl Clone for ReleaseManifest
impl Clone for ReleaseManifest
Source§fn clone(&self) -> ReleaseManifest
fn clone(&self) -> ReleaseManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more