pub enum UpdateTargetMode {
LatestCompatibleSameMajor,
LatestCompatibleSameMajorMinor,
}Variants§
Trait Implementations§
Source§impl Clone for UpdateTargetMode
impl Clone for UpdateTargetMode
Source§fn clone(&self) -> UpdateTargetMode
fn clone(&self) -> UpdateTargetMode
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 UpdateTargetMode
impl Debug for UpdateTargetMode
Source§impl Default for UpdateTargetMode
impl Default for UpdateTargetMode
Source§fn default() -> UpdateTargetMode
fn default() -> UpdateTargetMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateTargetMode
impl PartialEq for UpdateTargetMode
Source§fn eq(&self, other: &UpdateTargetMode) -> bool
fn eq(&self, other: &UpdateTargetMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UpdateTargetMode
impl Eq for UpdateTargetMode
impl StructuralPartialEq for UpdateTargetMode
Auto Trait Implementations§
impl Freeze 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.