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 maybe_id: Option<[u8; 32]>,
pub priority: u8,
pub call: Bounded<<T as Config>::RuntimeCall, <T as Config>::Hashing>,
pub maybe_periodic: Option<(<<T as Config>::BlockNumberProvider as BlockNumberProvider>::BlockNumber, u32)>,
pub origin: <T as Config>::PalletsOrigin,
/* private fields */
}
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>::BlockNumberProvider as BlockNumberProvider>::BlockNumber, 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.