pub struct UpdateProjectOptions {
pub dependencies: DependencySource,
pub install_dependencies: bool,
pub dry_run: bool,
}Expand description
Options for ProjectGenerator::update_core / px update.
Fields§
§dependencies: DependencySource§install_dependencies: bool§dry_run: boolImplementations§
Source§impl UpdateProjectOptions
impl UpdateProjectOptions
pub fn new() -> Self
pub fn dependencies(self, dependencies: DependencySource) -> Self
pub const fn install_dependencies(self, install: bool) -> Self
pub const fn dry_run(self, dry_run: bool) -> Self
Trait Implementations§
Source§impl Clone for UpdateProjectOptions
impl Clone for UpdateProjectOptions
Source§fn clone(&self) -> UpdateProjectOptions
fn clone(&self) -> UpdateProjectOptions
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 UpdateProjectOptions
impl Debug for UpdateProjectOptions
Auto Trait Implementations§
impl Freeze for UpdateProjectOptions
impl RefUnwindSafe for UpdateProjectOptions
impl Send for UpdateProjectOptions
impl Sync for UpdateProjectOptions
impl Unpin for UpdateProjectOptions
impl UnsafeUnpin for UpdateProjectOptions
impl UnwindSafe for UpdateProjectOptions
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