Trait sit_core::issue::IssueReduction
[−]
[src]
pub trait IssueReduction: Issue { fn reduce_with_reducer<R: Reducer<State = Map<String, Value>, Item = Self::Record>>(
&self,
reducer: &mut R
) -> Result<Map<String, Value>, ReductionError<Self::Error>> { ... } }
Issue trait extension that defines and implements default reduction algorithms
Provided Methods
fn reduce_with_reducer<R: Reducer<State = Map<String, Value>, Item = Self::Record>>(
&self,
reducer: &mut R
) -> Result<Map<String, Value>, ReductionError<Self::Error>>
&self,
reducer: &mut R
) -> Result<Map<String, Value>, ReductionError<Self::Error>>
Reduces issue with a given Reducer
Will insert issue's id into the initial state
Implementors
impl<T> IssueReduction for T where
T: Issue,