pub enum UpdateTargetMode {
Exact,
LatestCompatibleSameMajor,
LatestCompatibleSameMajorMinor,
}Variants§
Exact
Provision the exact OBS version configured in target_version.
LatestCompatibleSameMajor
Resolve the newest stable release with the same OBS major version.
LatestCompatibleSameMajorMinor
Resolve the newest stable patch release with the same major/minor.
Trait Implementations§
Source§impl Clone for UpdateTargetMode
impl Clone for UpdateTargetMode
impl Copy for UpdateTargetMode
Source§impl Debug for UpdateTargetMode
impl Debug for UpdateTargetMode
Source§impl Default for UpdateTargetMode
impl Default for UpdateTargetMode
impl Eq for UpdateTargetMode
Source§impl PartialEq for UpdateTargetMode
impl PartialEq for UpdateTargetMode
impl StructuralPartialEq for UpdateTargetMode
Auto Trait Implementations§
impl Forget for UpdateTargetMode
impl Freeze for UpdateTargetMode
impl Move for UpdateTargetMode
impl RefUnwindSafe for UpdateTargetMode
impl Send for UpdateTargetMode
impl Sync for UpdateTargetMode
impl Unpin for UpdateTargetMode
impl UnsafeUnpin for UpdateTargetMode
impl UnwindSafe for UpdateTargetMode
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.