Skip to main content

Inputs

Struct Inputs 

Source
pub struct Inputs<'a> {
Show 15 fields pub technologies: &'a [String], pub forge: Option<&'a str>, pub repo: Option<&'a str>, pub release_mode: Option<ReleaseMode>, pub release_driver: Option<&'a str>, pub style: Option<Style>, pub trunk: Option<&'a str>, pub checkout_mode: Option<CheckoutMode>, pub integration: Option<Integration>, pub required_check: Option<&'a str>, pub required_workflow: Option<&'a str>, pub nix: Option<bool>, pub reporting_policy: Option<bool>, pub scorecard: Option<bool>, pub code_scanning: Option<Option<Provider>>,
}
Expand description

Explicit invocation answers; absence falls through to configuration.

Fields§

§technologies: &'a [String]

The technologies, replacing the declared list whole; empty is unsupplied.

§forge: Option<&'a str>

Forge override.

§repo: Option<&'a str>

Repository override.

§release_mode: Option<ReleaseMode>

Release mode override.

§release_driver: Option<&'a str>

Release driver override.

§style: Option<Style>

Release style override.

§trunk: Option<&'a str>

Trunk override.

§checkout_mode: Option<CheckoutMode>

Checkout mode override.

§integration: Option<Integration>

Integration mode override.

§required_check: Option<&'a str>

The check the release gate believes, overriding the configuration.

§required_workflow: Option<&'a str>

The workflow whose completion wakes the release gate, overriding the configuration.

§nix: Option<bool>

Nix packaging request override.

§reporting_policy: Option<bool>

Reporting policy request override.

§scorecard: Option<bool>

Scorecard request override.

§code_scanning: Option<Option<Provider>>

Code scanning override: Some(None) turns it off, and absence leaves the configuration and the record to answer.

Trait Implementations§

Source§

impl<'a> Default for Inputs<'a>

Source§

fn default() -> Inputs<'a>

Returns the “default value” for a type. Read more

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.