pub struct NewTask {
pub executor: &'static str,
pub payload: String,
}Fields§
§executor: &'static str§payload: StringTrait Implementations§
impl StructuralPartialEq for NewTask
Auto Trait Implementations§
impl Freeze for NewTask
impl RefUnwindSafe for NewTask
impl Send for NewTask
impl Sync for NewTask
impl Unpin for NewTask
impl UnwindSafe for NewTask
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