pub struct Inputs {
pub staged_items: Vec<ItemRef>,
pub in_progress: Vec<ItemRef>,
pub changed_crates: Vec<String>,
pub committer: Committer,
}Expand description
Inputs for build_suggestion.
Fields§
§staged_items: Vec<ItemRef>Items whose .joy/items/*.yaml files are staged in this commit.
These are exact matches (the id comes from the filename).
in_progress: Vec<ItemRef>All items currently in in-progress (used only when nothing is staged).
changed_crates: Vec<String>Distinct crate names among the staged code changes (e.g. “joy-cli”). A scope is only emitted when there is exactly one.
committer: CommitterThe acting committer, for trailers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
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