pub struct RootPatch {
pub requirements: Vec<(String, String)>,
pub dev: bool,
pub removals: Vec<(bool, String)>,
}Expand description
What a dry run changes on the root package in memory instead of in composer.json.
Fields§
§requirements: Vec<(String, String)>(name, constraint) to add (require or, with dev, require-dev).
dev: bool§removals: Vec<(bool, String)>(from require-dev?, name as typed) to remove.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootPatch
impl RefUnwindSafe for RootPatch
impl Send for RootPatch
impl Sync for RootPatch
impl Unpin for RootPatch
impl UnsafeUnpin for RootPatch
impl UnwindSafe for RootPatch
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