[][src]Struct codealong::AnalyzedDiff

pub struct AnalyzedDiff {
    pub stats: WorkStats,
    pub tag_stats: HashMap<String, WorkStats>,
}

Fields

stats: WorkStatstag_stats: HashMap<String, WorkStats>

Methods

impl AnalyzedDiff[src]

pub fn empty() -> AnalyzedDiff[src]

pub fn add_stats(&mut self, stats: WorkStats, tags: &Vec<String>)[src]

Adds the stats to all tags

Trait Implementations

impl Default for AnalyzedDiff[src]

impl Clone for AnalyzedDiff[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<AnalyzedDiff> for AnalyzedDiff[src]

impl Debug for AnalyzedDiff[src]

impl Add<AnalyzedDiff> for AnalyzedDiff[src]

type Output = AnalyzedDiff

The resulting type after applying the + operator.

impl<'b> Add<&'b AnalyzedDiff> for AnalyzedDiff[src]

type Output = AnalyzedDiff

The resulting type after applying the + operator.

impl<'a> Add<AnalyzedDiff> for &'a AnalyzedDiff[src]

type Output = AnalyzedDiff

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'b AnalyzedDiff> for &'a AnalyzedDiff[src]

type Output = AnalyzedDiff

The resulting type after applying the + operator.

impl AddAssign<AnalyzedDiff> for AnalyzedDiff[src]

impl<'a> AddAssign<&'a AnalyzedDiff> for AnalyzedDiff[src]

impl Serialize for AnalyzedDiff[src]

impl<'de> Deserialize<'de> for AnalyzedDiff[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]