pub struct LeanWorkerModuleWork {
pub module: String,
pub path: PathBuf,
pub source_root: String,
pub imports: Vec<String>,
}Expand description
One module-sized unit of planned worker work.
Fields§
§module: String§path: PathBuf§source_root: String§imports: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for LeanWorkerModuleWork
impl Clone for LeanWorkerModuleWork
Source§fn clone(&self) -> LeanWorkerModuleWork
fn clone(&self) -> LeanWorkerModuleWork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeanWorkerModuleWork
impl Debug for LeanWorkerModuleWork
Source§impl PartialEq for LeanWorkerModuleWork
impl PartialEq for LeanWorkerModuleWork
Source§fn eq(&self, other: &LeanWorkerModuleWork) -> bool
fn eq(&self, other: &LeanWorkerModuleWork) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerModuleWork
impl StructuralPartialEq for LeanWorkerModuleWork
Auto Trait Implementations§
impl Freeze for LeanWorkerModuleWork
impl RefUnwindSafe for LeanWorkerModuleWork
impl Send for LeanWorkerModuleWork
impl Sync for LeanWorkerModuleWork
impl Unpin for LeanWorkerModuleWork
impl UnsafeUnpin for LeanWorkerModuleWork
impl UnwindSafe for LeanWorkerModuleWork
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