pub enum SkipSuggestion {
Tracking,
TrackingRemote(String),
NonTracking,
NonUpstream(String),
}
Variants§
Implementations§
Source§impl SkipSuggestion
impl SkipSuggestion
pub const KIND_TRACKING: i32 = 1i32
pub const KIND_NON_TRACKING: i32 = 2i32
pub const KIND_NON_UPSTREAM: i32 = 3i32
pub fn kind(&self) -> i32
Trait Implementations§
Source§impl Clone for SkipSuggestion
impl Clone for SkipSuggestion
Source§fn clone(&self) -> SkipSuggestion
fn clone(&self) -> SkipSuggestion
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for SkipSuggestion
impl PartialEq for SkipSuggestion
impl Eq for SkipSuggestion
impl StructuralPartialEq for SkipSuggestion
Auto Trait Implementations§
impl Freeze for SkipSuggestion
impl RefUnwindSafe for SkipSuggestion
impl Send for SkipSuggestion
impl Sync for SkipSuggestion
impl Unpin for SkipSuggestion
impl UnwindSafe for SkipSuggestion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more