[][src]Trait orml_oracle::CombineData

pub trait CombineData<Key, TimestampedValue> {
    fn combine_data(
        key: &Key,
        values: Vec<TimestampedValue>,
        prev_value: Option<TimestampedValue>
    ) -> Option<TimestampedValue>; }

Combine data provided by operators

Required methods

fn combine_data(
    key: &Key,
    values: Vec<TimestampedValue>,
    prev_value: Option<TimestampedValue>
) -> Option<TimestampedValue>

Combine data provided by operators

Loading content...

Implementors

impl<T, MinimumCount, ExpiresIn> CombineData<<T as Trait>::OracleKey, TimestampedValue<<T as Trait>::OracleValue, <<T as Trait>::Time as Time>::Moment>> for DefaultCombineData<T, MinimumCount, ExpiresIn> where
    T: Trait,
    MinimumCount: Get<u32>,
    ExpiresIn: Get<<<T as Trait>::Time as Time>::Moment>, 
[src]

Loading content...