pub type WorkPackage = WrappedWorkPackage<NoWrap>;Expand description
A work-package, a collection of work-items together with authorization and contextual information. This is processed in-core with Is-Authorized and Refine logic to produce a work-report.
Aliased Type§
pub struct WorkPackage {
pub authorization: Authorization,
pub auth_code_host: u32,
pub authorizer: Authorizer,
pub context: RefineContext,
pub items: BoundedVec<WorkItem, MaxWorkItems>,
}Fields§
Authorization token.
auth_code_host: u32Service identifier.
Authorizer.
context: RefineContextRefinement context.
items: BoundedVec<WorkItem, MaxWorkItems>Sequence of work items.