pub struct Cargo {
pub command: String,
pub id: Option<String>,
pub name: Option<String>,
pub toolchain: Option<Version>,
pub args: Option<String>,
}
Fields§
§command: String
The command to be executed for eg: fmt, clippy, build, test, etc.
id: Option<String>
The unique identifier of the Step.
name: Option<String>
Name of the Step
toolchain: Option<Version>
Toolchain to be used for example +nightly
.
args: Option<String>
Arguments to be passed to the cargo command.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cargo
impl RefUnwindSafe for Cargo
impl Send for Cargo
impl Sync for Cargo
impl Unpin for Cargo
impl UnwindSafe for Cargo
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