Type Alias pallet_scheduler::ScheduledOf

source ·
pub type ScheduledOf<T> = Scheduled<TaskName, BoundedCallOf<T>, BlockNumberFor<T>, <T as Config>::PalletsOrigin, <T as Config>::AccountId>;

Aliased Type§

struct ScheduledOf<T> {
    pub(crate) maybe_id: Option<[u8; 32]>,
    pub(crate) priority: u8,
    pub(crate) call: Bounded<<T as Config>::RuntimeCall, <T as Config>::Hashing>,
    pub(crate) maybe_periodic: Option<(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, u32)>,
    pub(crate) origin: <T as Config>::PalletsOrigin,
    pub(crate) _phantom: PhantomData<<T as Config>::AccountId>,
}

Fields§

§maybe_id: Option<[u8; 32]>

The unique identity for this task, if there is one.

§priority: u8

This task’s priority.

§call: Bounded<<T as Config>::RuntimeCall, <T as Config>::Hashing>

The call to be dispatched.

§maybe_periodic: Option<(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, u32)>

If the call is periodic, then this points to the information concerning that.

§origin: <T as Config>::PalletsOrigin

The origin with which to dispatch the call.

§_phantom: PhantomData<<T as Config>::AccountId>