#[non_exhaustive]pub struct TaskInfo {
pub ix: TaskIx,
pub id: String,
pub function: String,
pub workflow: WorkflowIx,
pub kind: StepKind,
pub path: AuthoredPath,
}Expand description
What a Program lists about one task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ix: TaskIxIts position in the program.
id: StringIts id.
function: StringThe registered name of the function it calls.
workflow: WorkflowIxThe workflow it belongs to.
kind: StepKindWhether it is a setup step or a body task.
path: AuthoredPathWhere it sits in the authored workflow.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskInfo
impl RefUnwindSafe for TaskInfo
impl Send for TaskInfo
impl Sync for TaskInfo
impl Unpin for TaskInfo
impl UnsafeUnpin for TaskInfo
impl UnwindSafe for TaskInfo
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