[][src]Trait sunshine_util::traits::UpdatePetitionTerms

pub trait UpdatePetitionTerms<Hash>: Sized {
    fn update_petition_terms(&self, new_terms: Hash) -> Self;
}

Required methods

fn update_petition_terms(&self, new_terms: Hash) -> Self

Loading content...

Implementors

impl<Hash: Clone, BlockNumber: Clone> UpdatePetitionTerms<Hash> for PetitionState<Hash, BlockNumber>[src]

fn update_petition_terms(&self, new_terms: Hash) -> Self[src]

Resets thresholds by default every time the petition's topic changes

Loading content...