Skip to main content

Inputs

Struct Inputs 

Source
pub struct Inputs<'a> {
Show 17 fields pub declared: &'a Compatibility, pub engine_version: &'a str, pub engine_schema: u32, pub bundle_schema: u32, pub candidate_version: &'a str, pub recorded_version: Option<&'a str>, pub tech: Option<&'a str>, pub forge: Option<&'a str>, pub pins: &'a BTreeMap<String, String>, pub host_generator: Option<&'a str>, pub writes: &'a [String], pub rewrites: &'a [String], pub pin_wired: bool, pub unwired_managers: &'a [String], pub forge_version: Option<&'a str>, pub selected: &'a BTreeMap<String, String>, pub evidence_refs: Vec<String>,
}
Expand description

Everything the evaluation reads.

Fields§

§declared: &'a Compatibility

What the candidate bundle declares.

§engine_version: &'a str

The engine computing the plan.

§engine_schema: u32

The engine’s protocol version.

§bundle_schema: u32

The candidate’s protocol version.

§candidate_version: &'a str

The candidate release.

§recorded_version: Option<&'a str>

The recorded release, where a record exists.

§tech: Option<&'a str>

The resolved technology, where one resolved.

§forge: Option<&'a str>

The resolved forge, where one resolved.

§pins: &'a BTreeMap<String, String>

The candidate’s pins, by tool name.

§host_generator: Option<&'a str>

The generator’s version on the host, where one was read.

§writes: &'a [String]

Every path the operations write.

§rewrites: &'a [String]

The paths the operations rewrite: a file the target already holds. A first write generates nothing yet, so only a rewrite of the generator’s artifact needs the generator on the host.

§pin_wired: bool

Whether a manager file names release-kit.

§unwired_managers: &'a [String]

The managers whose file is present and names no release-kit.

§forge_version: Option<&'a str>

The forge’s version, where the forge was asked.

§selected: &'a BTreeMap<String, String>

The decisions the operator selected, by id.

§evidence_refs: Vec<String>

The evidence the axes cite.

Auto Trait Implementations§

§

impl<'a> Freeze for Inputs<'a>

§

impl<'a> RefUnwindSafe for Inputs<'a>

§

impl<'a> Send for Inputs<'a>

§

impl<'a> Sync for Inputs<'a>

§

impl<'a> Unpin for Inputs<'a>

§

impl<'a> UnsafeUnpin for Inputs<'a>

§

impl<'a> UnwindSafe for Inputs<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.