pub struct PreparedWorker<Role, W, P> {
pub role: Role,
pub submission: WorkerSubmission<W, P>,
}Expand description
One semantic role and its complete prepared worker submission.
Fields§
§role: RoleApplication role owned by this worker relationship.
submission: WorkerSubmission<W, P>Worker behavior and activation work prepared for the role.
Trait Implementations§
impl<Role: Eq, W: Eq, P: Eq> Eq for PreparedWorker<Role, W, P>
impl<Role, W, P> StructuralPartialEq for PreparedWorker<Role, W, P>
Auto Trait Implementations§
impl<Role, W, P> Freeze for PreparedWorker<Role, W, P>
impl<Role, W, P> RefUnwindSafe for PreparedWorker<Role, W, P>
impl<Role, W, P> Send for PreparedWorker<Role, W, P>
impl<Role, W, P> Sync for PreparedWorker<Role, W, P>
impl<Role, W, P> Unpin for PreparedWorker<Role, W, P>
impl<Role, W, P> UnsafeUnpin for PreparedWorker<Role, W, P>
impl<Role, W, P> UnwindSafe for PreparedWorker<Role, W, P>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more