[][src]Enum pallet_collective::RawOrigin

pub enum RawOrigin<AccountId, I> {
    Members(MemberCountMemberCount),
    Member(AccountId),
    _Phantom(PhantomData<I>),
}

Origin for the collective module.

Variants

It has been condoned by a given number of members of the collective from a given total.

Member(AccountId)

It has been condoned by a single member of the collective.

_Phantom(PhantomData<I>)

Dummy to manage the fact we have instancing.

Trait Implementations

impl<AccountId: Clone, I: Clone> Clone for RawOrigin<AccountId, I>[src]

impl<AccountId, I> Debug for RawOrigin<AccountId, I> where
    AccountId: Debug,
    I: Debug
[src]

impl<AccountId: Eq, I: Eq> Eq for RawOrigin<AccountId, I>[src]

impl<AccountId: PartialEq, I: PartialEq> PartialEq<RawOrigin<AccountId, I>> for RawOrigin<AccountId, I>[src]

impl<AccountId, I> StructuralEq for RawOrigin<AccountId, I>[src]

impl<AccountId, I> StructuralPartialEq for RawOrigin<AccountId, I>[src]

Auto Trait Implementations

impl<AccountId, I> RefUnwindSafe for RawOrigin<AccountId, I> where
    AccountId: RefUnwindSafe,
    I: RefUnwindSafe

impl<AccountId, I> Send for RawOrigin<AccountId, I> where
    AccountId: Send,
    I: Send

impl<AccountId, I> Sync for RawOrigin<AccountId, I> where
    AccountId: Sync,
    I: Sync

impl<AccountId, I> Unpin for RawOrigin<AccountId, I> where
    AccountId: Unpin,
    I: Unpin

impl<AccountId, I> UnwindSafe for RawOrigin<AccountId, I> where
    AccountId: UnwindSafe,
    I: UnwindSafe

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> CheckedConversion for T[src]

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

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

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

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.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,