[][src]Enum criner_waste_report::Fix

pub enum Fix {
    ImprovedInclude {
        include: Patterns,
        include_removed: Patterns,
        potential: Option<PotentialWaste>,
        has_build_script: bool,
    },
    EnrichedExclude {
        exclude: Patterns,
        exclude_added: Patterns,
        has_build_script: bool,
    },
    NewInclude {
        include: Patterns,
        has_build_script: bool,
    },
    RemoveExcludeAndUseInclude {
        include_added: Patterns,
        include: Patterns,
        include_removed: Patterns,
    },
    RemoveExclude,
}

Variants

ImprovedInclude

Fields of ImprovedInclude

include: Patternsinclude_removed: Patternspotential: Option<PotentialWaste>has_build_script: bool
EnrichedExclude

Fields of EnrichedExclude

exclude: Patternsexclude_added: Patternshas_build_script: bool
NewInclude

Fields of NewInclude

include: Patternshas_build_script: bool
RemoveExcludeAndUseInclude

Fields of RemoveExcludeAndUseInclude

include_added: Patternsinclude: Patternsinclude_removed: Patterns
RemoveExclude

Implementations

impl Fix[src]

pub fn merge(
    self,
    rhs: Option<PotentialWaste>,
    waste: Vec<TarHeader>
) -> (Fix, Vec<TarHeader>)
[src]

Trait Implementations

impl Clone for Fix[src]

impl Debug for Fix[src]

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

impl Eq for Fix[src]

impl PartialEq<Fix> for Fix[src]

impl Serialize for Fix[src]

impl StructuralEq for Fix[src]

impl StructuralPartialEq for Fix[src]

Auto Trait Implementations

impl RefUnwindSafe for Fix

impl Send for Fix

impl Sync for Fix

impl Unpin for Fix

impl UnwindSafe for Fix

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.