pub struct UpdaterConfig {
pub allow_major_updates: bool,
pub allow_minor_updates: bool,
pub allow_patch_updates: bool,
pub excluded_packages: HashSet<String>,
pub version_constraints: HashMap<String, String>,
pub check_security_advisories: bool,
}Expand description
Configuration for automated dependency updates
Fields§
§allow_major_updates: boolAllow major version updates (potentially breaking)
allow_minor_updates: boolAllow minor version updates (backward compatible)
allow_patch_updates: boolAllow patch version updates (bug fixes only)
excluded_packages: HashSet<String>Exclude specific packages from updates
version_constraints: HashMap<String, String>Require specific version constraints for packages
check_security_advisories: boolCheck for security advisories
Trait Implementations§
Source§impl Clone for UpdaterConfig
impl Clone for UpdaterConfig
Source§fn clone(&self) -> UpdaterConfig
fn clone(&self) -> UpdaterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdaterConfig
impl Debug for UpdaterConfig
Auto Trait Implementations§
impl Freeze for UpdaterConfig
impl RefUnwindSafe for UpdaterConfig
impl Send for UpdaterConfig
impl Sync for UpdaterConfig
impl Unpin for UpdaterConfig
impl UnwindSafe for UpdaterConfig
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<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