Type Alias pallet_scheduler::ScheduledV2Of
source · pub type ScheduledV2Of<T> = Scheduled<Vec<u8>, <T as Config>::RuntimeCall, BlockNumberFor<T>, <T as Config>::PalletsOrigin, <T as Config>::AccountId>;
Aliased Type§
struct ScheduledV2Of<T> {
pub(crate) maybe_id: Option<Vec<u8>>,
pub(crate) priority: u8,
pub(crate) call: <T as Config>::RuntimeCall,
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<Vec<u8>>
The unique identity for this task, if there is one.
priority: u8
This task’s priority.
call: <T as Config>::RuntimeCall
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>