pub struct AffectedConfig {
pub base: String,
pub head: String,
pub uncommitted: bool,
pub untracked: bool,
}Expand description
Configuration for affected detection
Fields§
§base: StringBase ref to compare against (default: main or master)
head: StringHead ref to compare (default: HEAD)
uncommitted: boolInclude uncommitted changes
untracked: boolInclude untracked files
Implementations§
Trait Implementations§
Source§impl Clone for AffectedConfig
impl Clone for AffectedConfig
Source§fn clone(&self) -> AffectedConfig
fn clone(&self) -> AffectedConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AffectedConfig
impl Debug for AffectedConfig
Auto Trait Implementations§
impl Freeze for AffectedConfig
impl RefUnwindSafe for AffectedConfig
impl Send for AffectedConfig
impl Sync for AffectedConfig
impl Unpin for AffectedConfig
impl UnwindSafe for AffectedConfig
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