pub struct GithubGlobalJobConfig {
pub runner: GithubRunnerConfig,
pub install_dist: GhaRunStep,
pub dist_args: String,
pub install_cargo_cyclonedx: Option<GhaRunStep>,
pub install_omnibor: Option<GhaRunStep>,
}Expand description
Used in github/release.yml.j2 to template out “global” build jobs
(plan, global assets, announce, etc)
Fields§
§runner: GithubRunnerConfigWhere to run this job?
install_dist: GhaRunStepExpression to execute to install dist
dist_args: StringArguments to pass to dist
install_cargo_cyclonedx: Option<GhaRunStep>Expression to execute to install cargo-cyclonedx
install_omnibor: Option<GhaRunStep>Expression to execute to install omnibor-cli
Trait Implementations§
Source§impl Clone for GithubGlobalJobConfig
impl Clone for GithubGlobalJobConfig
Source§fn clone(&self) -> GithubGlobalJobConfig
fn clone(&self) -> GithubGlobalJobConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GithubGlobalJobConfig
impl Debug for GithubGlobalJobConfig
Source§impl<'de> Deserialize<'de> for GithubGlobalJobConfig
impl<'de> Deserialize<'de> for GithubGlobalJobConfig
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
Source§impl JsonSchema for GithubGlobalJobConfig
impl JsonSchema for GithubGlobalJobConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for GithubGlobalJobConfig
impl RefUnwindSafe for GithubGlobalJobConfig
impl Send for GithubGlobalJobConfig
impl Sync for GithubGlobalJobConfig
impl Unpin for GithubGlobalJobConfig
impl UnwindSafe for GithubGlobalJobConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)