pub enum CommitFormat {
OneLine,
Short,
Medium,
Full,
Format(String),
}
Expand description
Commit formatting options.
Variants§
Trait Implementations§
Source§impl FromStr for CommitFormat
impl FromStr for CommitFormat
Source§impl Ord for CommitFormat
impl Ord for CommitFormat
Source§fn cmp(&self, other: &CommitFormat) -> Ordering
fn cmp(&self, other: &CommitFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CommitFormat
impl PartialEq for CommitFormat
Source§impl PartialOrd for CommitFormat
impl PartialOrd for CommitFormat
impl Eq for CommitFormat
impl StructuralPartialEq for CommitFormat
Auto Trait Implementations§
impl Freeze for CommitFormat
impl RefUnwindSafe for CommitFormat
impl Send for CommitFormat
impl Sync for CommitFormat
impl Unpin for CommitFormat
impl UnwindSafe for CommitFormat
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> 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