pub struct RunHook<M>where
M: Executable + Clone + 'static,{
pub job_id: String,
pub before: bool,
/* private fields */
}
Fields§
§job_id: String
§before: bool
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for RunHook<M>
impl<M> RefUnwindSafe for RunHook<M>where
M: RefUnwindSafe,
impl<M> Send for RunHook<M>where
M: Send,
impl<M> Sync for RunHook<M>where
M: Sync,
impl<M> Unpin for RunHook<M>where
M: Unpin,
impl<M> UnwindSafe for RunHook<M>where
M: UnwindSafe,
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