pub struct CTTaskMeta {
pub name: String,
pub is_script: bool,
pub min_version: Option<String>,
pub path: PathBuf,
pub default: bool,
pub bootstrap: bool,
pub help: String,
pub cargo_deps: Option<String>,
pub task_deps: Vec<String>,
}Expand description
Cargo-task task metadata struct.
Fields§
§name: Stringtask name
is_script: booltrue if this task was specified as a single *.ct.rs script file.
false if this task was specified as a full crate directory.
min_version: Option<String>Minimum cargo-task utility version required for this task.
path: PathBuftask “crate” path
default: booldoes this path run on default cargo task execution?
bootstrap: boolshould this task always run before other tasks? task list will be reloaded after all bootstrap tasks run.
help: Stringhelp info for this task
cargo_deps: Option<String>any cargo (Cargo.toml) dependencies for a script task
task_deps: Vec<String>any cargo-task task dependencies
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CTTaskMeta
impl RefUnwindSafe for CTTaskMeta
impl Send for CTTaskMeta
impl Sync for CTTaskMeta
impl Unpin for CTTaskMeta
impl UnwindSafe for CTTaskMeta
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