pub struct InstallabilityReport {
pub installable: bool,
pub summary: String,
pub local_version: String,
pub stable_tag: Option<String>,
pub required_targets: usize,
pub published_artifacts: usize,
pub install_command: String,
pub installer_url: String,
pub latest_url: String,
pub checks: Vec<InstallCheck>,
}Expand description
Whether the advertised one-line installation works right now, and if not, what is missing.
This answers the operator’s actual question — can a machine that has never seen this
project install it with the published command? — from local state alone. It performs no
network access: a repository can be offline and this still answers, because everything it
needs is the distribution model and the release records the repository itself carries.
What it cannot see it reports as unknown rather than guessing; the public half of the
question is answered by the release workflow’s smoke phase, which installs from the
published URL on every native runner and is the only thing that proves the public path.
Fields§
§installable: boolTrue when every check holds: a stable release is recorded and complete.
summary: StringOne line for a person: what the state is, in the project’s own terms.
local_version: StringThe version this tree would release.
stable_tag: Option<String>The tag an unpinned installation resolves to, when a stable release is recorded.
required_targets: usizeHow many targets a release must publish for that release to be complete.
published_artifacts: usizeHow many of them the stable release actually publishes.
install_command: StringThe command a person would run, whether or not it currently works.
installer_url: StringWhere the installer is served.
latest_url: StringWhere the stable pointer is served.
checks: Vec<InstallCheck>Every check, in the order they are worth reading.
Trait Implementations§
Source§impl Clone for InstallabilityReport
impl Clone for InstallabilityReport
Source§fn clone(&self) -> InstallabilityReport
fn clone(&self) -> InstallabilityReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InstallabilityReport
impl Debug for InstallabilityReport
Source§impl<'de> Deserialize<'de> for InstallabilityReport
impl<'de> Deserialize<'de> for InstallabilityReport
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>,
Source§impl JsonSchema for InstallabilityReport
impl JsonSchema for InstallabilityReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more