pub enum AttributionSeverity {
Light,
Moderate,
Heavy,
}Expand description
How costly the per-author attribution (git blame) pass is expected to be for a repository, used to warn the user and to auto-default attribution off on pathologically large trees.
Variants§
Light
Small repo — attribution finishes in seconds. Recommended on.
Moderate
Mid-size repo — attribution adds up to a couple of minutes. On, but flagged.
Heavy
Very large repo (e.g. a monorepo with many submodules) — attribution can take many minutes. Recommended off by default; the user can still opt in.
Trait Implementations§
Source§impl Clone for AttributionSeverity
impl Clone for AttributionSeverity
Source§fn clone(&self) -> AttributionSeverity
fn clone(&self) -> AttributionSeverity
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 moreimpl Copy for AttributionSeverity
Source§impl Debug for AttributionSeverity
impl Debug for AttributionSeverity
Source§impl<'de> Deserialize<'de> for AttributionSeverity
impl<'de> Deserialize<'de> for AttributionSeverity
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
impl Eq for AttributionSeverity
Source§impl PartialEq for AttributionSeverity
impl PartialEq for AttributionSeverity
Source§impl Serialize for AttributionSeverity
impl Serialize for AttributionSeverity
impl StructuralPartialEq for AttributionSeverity
Auto Trait Implementations§
impl Freeze for AttributionSeverity
impl RefUnwindSafe for AttributionSeverity
impl Send for AttributionSeverity
impl Sync for AttributionSeverity
impl Unpin for AttributionSeverity
impl UnsafeUnpin for AttributionSeverity
impl UnwindSafe for AttributionSeverity
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