pub struct WorktreeMergeDetectionConfig {
pub use_github_cli: bool,
pub methods: Vec<String>,
pub main_branches: Vec<String>,
}Expand description
Configuration for merge detection
Fields§
§use_github_cli: boolEnable GitHub CLI integration for PR status
methods: Vec<String>Methods to use for merge detection (in order of preference)
main_branches: Vec<String>Main branches to check merges against
Trait Implementations§
Source§impl Clone for WorktreeMergeDetectionConfig
impl Clone for WorktreeMergeDetectionConfig
Source§fn clone(&self) -> WorktreeMergeDetectionConfig
fn clone(&self) -> WorktreeMergeDetectionConfig
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 WorktreeMergeDetectionConfig
impl Debug for WorktreeMergeDetectionConfig
Source§impl<'de> Deserialize<'de> for WorktreeMergeDetectionConfig
impl<'de> Deserialize<'de> for WorktreeMergeDetectionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorktreeMergeDetectionConfig
impl RefUnwindSafe for WorktreeMergeDetectionConfig
impl Send for WorktreeMergeDetectionConfig
impl Sync for WorktreeMergeDetectionConfig
impl Unpin for WorktreeMergeDetectionConfig
impl UnsafeUnpin for WorktreeMergeDetectionConfig
impl UnwindSafe for WorktreeMergeDetectionConfig
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