namespace AIStudio.Tools.Rust; /// /// What the runtime tells about itself once the app starts. /// /// The working directory of the runtime. /// The path of the runtime's executable. /// How the Linux build was packaged. /// Whether and how the app may update itself. /// The Rust compiler which built the runtime, e.g., "1.99.1 (commit 58cf8f9c3)". A runtime older than the app, as a development build may be, sends none. public readonly record struct RuntimeInfoResponse(string WorkingDirectory, string ExecutablePath, LinuxPackageType LinuxPackageType, InstallationKind InstallationKind, string? RustVersion);