Struct governance_os_pallet_organizations::Module [−][src]
pub struct Module<T: Config>(_);
Implementations
impl<T: Config + 'static> Module<T>
[src]
impl<T: Config + 'static> Module<T>
[src]pub fn counter() -> OrganizationsCounter
[src]
pub fn parameters<K: EncodeLike<T::AccountId>>(
key: K
) -> Option<OrganizationDetails<<T as Config>::AccountId, (<<T as Config>::VotingRouter as VotingRouter>::VotingSystemId, <<T as Config>::VotingRouter as VotingRouter>::Parameters)>>
[src]
key: K
) -> Option<OrganizationDetails<<T as Config>::AccountId, (<<T as Config>::VotingRouter as VotingRouter>::VotingSystemId, <<T as Config>::VotingRouter as VotingRouter>::Parameters)>>
pub fn proposals<K: EncodeLike<<T as Config>::Hash>>(
key: K
) -> Option<Proposal<Vec<u8>, <T as Config>::AccountId, <<T as Config>::VotingRouter as VotingRouter>::VotingSystemId>>
[src]
key: K
) -> Option<Proposal<Vec<u8>, <T as Config>::AccountId, <<T as Config>::VotingRouter as VotingRouter>::VotingSystemId>>
impl<T: Config> Module<T>
[src]
impl<T: Config> Module<T>
[src]pub fn org_id_for(counter: u32) -> T::AccountId
[src]
Given any counter return the associated organization id
Trait Implementations
impl<T: Config> GetPalletVersion for Module<T>
[src]
impl<T: Config> GetPalletVersion for Module<T>
[src]fn current_version() -> PalletVersion
[src]
fn storage_version() -> Option<PalletVersion>
[src]
impl<T: Config> IntegrityTest for Module<T>
[src]
impl<T: Config> IntegrityTest for Module<T>
[src]pub fn integrity_test()
[src]
impl<T: Config> ModuleErrorMetadata for Module<T>
[src]
impl<T: Config> ModuleErrorMetadata for Module<T>
[src]impl<T: Config + Config> OffchainWorker<<T as Config>::BlockNumber> for Module<T>
[src]
impl<T: Config + Config> OffchainWorker<<T as Config>::BlockNumber> for Module<T>
[src]pub fn offchain_worker(_n: BlockNumber)
[src]
impl<T: Config + Config> OnFinalize<<T as Config>::BlockNumber> for Module<T>
[src]
impl<T: Config + Config> OnFinalize<<T as Config>::BlockNumber> for Module<T>
[src]pub fn on_finalize(_n: BlockNumber)
[src]
impl<T: Config + Config> OnInitialize<<T as Config>::BlockNumber> for Module<T>
[src]
impl<T: Config + Config> OnInitialize<<T as Config>::BlockNumber> for Module<T>
[src]pub fn on_initialize(_n: BlockNumber) -> u64
[src]
impl<T: Config> OnRuntimeUpgrade for Module<T>
[src]
impl<T: Config> OnRuntimeUpgrade for Module<T>
[src]fn on_runtime_upgrade() -> Weight
[src]
impl<T: Copy + Config> Copy for Module<T>
[src]
impl<T: Eq + Config> Eq for Module<T>
[src]
impl<T: Config> StructuralEq for Module<T>
[src]
impl<T: Config> StructuralPartialEq for Module<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Module<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Module<T> where
T: Send,
T: Send,
impl<T> Sync for Module<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Module<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Module<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> CheckedConversion for T
[src]
impl<T> CheckedConversion for T
[src]pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<T> SaturatedConversion for T
[src]
impl<T> SaturatedConversion for T
[src]pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]pub fn unique_saturated_into(self) -> T
[src]
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
[src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,