pub enum BranchCleanupOutcome {
Skipped {
branch: Option<BranchName>,
reason: BranchCleanupSkipReason,
},
DeclinedSourceBranch {
branch: BranchName,
},
DeletedSourceBranch {
branch: BranchName,
},
DeclinedUpstreamBranch {
remote: RemoteName,
branch: BranchName,
},
DeletedUpstreamBranch {
remote: RemoteName,
branch: BranchName,
},
Warning {
branch: Option<BranchName>,
message: String,
},
}Variants§
Skipped
DeclinedSourceBranch
Fields
§
branch: BranchNameDeletedSourceBranch
Fields
§
branch: BranchNameDeclinedUpstreamBranch
DeletedUpstreamBranch
Warning
Trait Implementations§
Source§impl Clone for BranchCleanupOutcome
impl Clone for BranchCleanupOutcome
Source§fn clone(&self) -> BranchCleanupOutcome
fn clone(&self) -> BranchCleanupOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BranchCleanupOutcome
impl Debug for BranchCleanupOutcome
impl Eq for BranchCleanupOutcome
Source§impl From<BranchCleanupFinding> for BranchCleanupOutcome
impl From<BranchCleanupFinding> for BranchCleanupOutcome
Source§fn from(finding: BranchCleanupFinding) -> Self
fn from(finding: BranchCleanupFinding) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BranchCleanupOutcome
impl PartialEq for BranchCleanupOutcome
Source§fn eq(&self, other: &BranchCleanupOutcome) -> bool
fn eq(&self, other: &BranchCleanupOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BranchCleanupOutcome
Auto Trait Implementations§
impl Freeze for BranchCleanupOutcome
impl RefUnwindSafe for BranchCleanupOutcome
impl Send for BranchCleanupOutcome
impl Sync for BranchCleanupOutcome
impl Unpin for BranchCleanupOutcome
impl UnsafeUnpin for BranchCleanupOutcome
impl UnwindSafe for BranchCleanupOutcome
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