pub struct ToolchainArtifactConfig {
pub format: u32,
pub tool: String,
pub version: String,
pub os: String,
pub arch: String,
pub built_prefix: String,
pub relocatable: bool,
pub manifest: ToolchainManifest,
}Expand description
The config-blob document (application/vnd.zlayer.toolchain.config.v1+json):
the toolchain identity plus the embedded ToolchainManifest the consumer
re-homes on pull.
Fields§
§format: u32Schema version (currently 1).
tool: StringTool name (verbatim, e.g. openssl@3).
version: StringResolved version.
os: StringPlatform token.
arch: StringArchitecture token.
built_prefix: StringThe absolute prefix the toolchain was built at (its recorded prefix —
what relocate_pulled rewrites away from).
relocatable: boolWhether the publisher proved the artifact fully prefix-independent. When
false, the consumer must null-pad patch binaries and can only install
at a prefix no longer than built_prefix.
manifest: ToolchainManifestThe toolchain manifest, with path_dirs / env rooted at
built_prefix. Re-homed to the local dir on pull.
Trait Implementations§
Source§impl Clone for ToolchainArtifactConfig
impl Clone for ToolchainArtifactConfig
Source§fn clone(&self) -> ToolchainArtifactConfig
fn clone(&self) -> ToolchainArtifactConfig
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 ToolchainArtifactConfig
impl Debug for ToolchainArtifactConfig
Source§impl<'de> Deserialize<'de> for ToolchainArtifactConfig
impl<'de> Deserialize<'de> for ToolchainArtifactConfig
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
Auto Trait Implementations§
impl Freeze for ToolchainArtifactConfig
impl RefUnwindSafe for ToolchainArtifactConfig
impl Send for ToolchainArtifactConfig
impl Sync for ToolchainArtifactConfig
impl Unpin for ToolchainArtifactConfig
impl UnsafeUnpin for ToolchainArtifactConfig
impl UnwindSafe for ToolchainArtifactConfig
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