pub struct UnitScope<'a> {
pub source: &'a [RepositoryPath],
pub changelog: Option<&'a Path>,
}Expand description
The repository paths whose changes count for a unit: everything under
the source directories except the unit changelog.
Fields§
§source: &'a [RepositoryPath]Repository directories whose changes trigger a release.
changelog: Option<&'a Path>Repository path of the unit changelog, which never counts.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UnitScope<'a>
impl<'a> RefUnwindSafe for UnitScope<'a>
impl<'a> Send for UnitScope<'a>
impl<'a> Sync for UnitScope<'a>
impl<'a> Unpin for UnitScope<'a>
impl<'a> UnsafeUnpin for UnitScope<'a>
impl<'a> UnwindSafe for UnitScope<'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