pub struct SplitPlan {Show 20 fields
pub module: String,
pub package: String,
pub app: String,
pub new_app: String,
pub root: PathBuf,
pub from: PathBuf,
pub to: PathBuf,
pub workspace: PathBuf,
pub contracts: Vec<String>,
pub stays_local: Vec<String>,
pub lookups: Vec<String>,
pub events: Vec<String>,
pub calls_back: Vec<String>,
pub reaches: Vec<String>,
pub called_contracts: Vec<Crate>,
pub proxy: Vec<String>,
pub shared_prefixes: Vec<String>,
pub orphaned_tests: Vec<PathBuf>,
pub last_module: bool,
pub defines_areas: bool,
}Fields§
§module: String§package: String§app: StringThe app the module leaves.
new_app: String§root: PathBuf§from: PathBuf§to: PathBuf§workspace: PathBuf§contracts: Vec<String>§stays_local: Vec<String>§lookups: Vec<String>§events: Vec<String>§calls_back: Vec<String>Modules of the app it leaves whose contracts the module calls, served back to it.
reaches: Vec<String>Modules it calls that an earlier split already moved elsewhere.
called_contracts: Vec<Crate>The contracts of calls_back and reaches, which the new app depends on.
proxy: Vec<String>§orphaned_tests: Vec<PathBuf>The app’s test files naming the module’s crate, which it no longer depends on.
last_module: bool§defines_areas: boolThe areas its contract defines, which the apps’ wirings name through it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SplitPlan
impl Freeze for SplitPlan
impl RefUnwindSafe for SplitPlan
impl Send for SplitPlan
impl Sync for SplitPlan
impl Unpin for SplitPlan
impl UnsafeUnpin for SplitPlan
impl UnwindSafe for SplitPlan
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