pub struct Workflow {
pub auto_release: bool,
pub name: String,
pub benchmarks: bool,
pub auto_fix: bool,
}Fields§
§auto_release: boolWhen enabled, a release job is added to the workflow.
IMPORTANT: Ensure secrets.CARGO_REGISTRY_TOKEN is set for your
github action.
name: StringName of the workflow.
benchmarks: boolWhen enabled, a benchmark job is added to the workflow.
auto_fix: boolAuto-fixes the code after
Implementations§
Source§impl Workflow
impl Workflow
Sourcepub fn auto_release(self, value: bool) -> Self
pub fn auto_release(self, value: bool) -> Self
Sets the auto_release field of this struct.
Sourcepub fn benchmarks(self, value: bool) -> Self
pub fn benchmarks(self, value: bool) -> Self
Sets the benchmarks field of this struct.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more