pub struct DevTaskModel<'a> {
pub plan: &'a Plan,
pub record: Option<RecordRef<'a>>,
pub trace: Option<&'a IssueTrace>,
pub sessions: Vec<SessionRef>,
pub repository: Option<&'a str>,
}Expand description
Everything DevTask::build needs, gathered by the caller that has a repository.
Fields§
§plan: &'a PlanThe derived plan: the one derivation of status, waves, dependents and findings.
record: Option<RecordRef<'a>>The canonical record, when the model declares this issue.
trace: Option<&'a IssueTrace>What git says about the branches and commits that realised it, when git was
consulted. None is not “nothing realised it”: it is “git was not asked”, and the
execution group says which.
sessions: Vec<SessionRef>The session records whose branch names this issue, in canonical order. Resolved by
the caller because the rule belongs to crate::worktree::state::issue_of and is
not restated here.
repository: Option<&'a str>The repository the external projection targets, as project.yaml declares it.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DevTaskModel<'a>
impl<'a> RefUnwindSafe for DevTaskModel<'a>
impl<'a> Send for DevTaskModel<'a>
impl<'a> Sync for DevTaskModel<'a>
impl<'a> Unpin for DevTaskModel<'a>
impl<'a> UnsafeUnpin for DevTaskModel<'a>
impl<'a> UnwindSafe for DevTaskModel<'a>
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