pub struct UpdateOpts {
pub name: Option<String>,
pub dry_run: bool,
pub force: bool,
}Expand description
Options for update.
Fields§
§name: Option<String>Restrict to one dep. None = every [deps.<name>].
dry_run: boolCompute the plan but write nothing and do not re-install.
force: boolAlso bump exact (full SemVer) tag pins to the SemVer-max release available on the remote.
Trait Implementations§
Source§impl Clone for UpdateOpts
impl Clone for UpdateOpts
Source§fn clone(&self) -> UpdateOpts
fn clone(&self) -> UpdateOpts
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 UpdateOpts
impl Debug for UpdateOpts
Source§impl Default for UpdateOpts
impl Default for UpdateOpts
Source§fn default() -> UpdateOpts
fn default() -> UpdateOpts
Returns the “default value” for a type. Read more
impl Eq for UpdateOpts
Source§impl PartialEq for UpdateOpts
impl PartialEq for UpdateOpts
impl StructuralPartialEq for UpdateOpts
Auto Trait Implementations§
impl Freeze for UpdateOpts
impl RefUnwindSafe for UpdateOpts
impl Send for UpdateOpts
impl Sync for UpdateOpts
impl Unpin for UpdateOpts
impl UnsafeUnpin for UpdateOpts
impl UnwindSafe for UpdateOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more