Enum cargo_release::config::DependentVersion
source · [−]pub enum DependentVersion {
Upgrade,
Fix,
}Variants
Upgrade
Always upgrade dependents
Fix
Upgrade when the old version requirement no longer applies
Trait Implementations
sourceimpl Clone for DependentVersion
impl Clone for DependentVersion
sourcefn clone(&self) -> DependentVersion
fn clone(&self) -> DependentVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DependentVersion
impl Debug for DependentVersion
sourceimpl Default for DependentVersion
impl Default for DependentVersion
sourceimpl<'de> Deserialize<'de> for DependentVersion
impl<'de> Deserialize<'de> for DependentVersion
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DependentVersion> for DependentVersion
impl PartialEq<DependentVersion> for DependentVersion
sourcefn eq(&self, other: &DependentVersion) -> bool
fn eq(&self, other: &DependentVersion) -> bool
sourceimpl Serialize for DependentVersion
impl Serialize for DependentVersion
sourceimpl ValueEnum for DependentVersion
impl ValueEnum for DependentVersion
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue>
fn to_possible_value<'a>(&self) -> Option<PossibleValue>
The canonical argument value. Read more
impl Copy for DependentVersion
impl Eq for DependentVersion
impl StructuralEq for DependentVersion
impl StructuralPartialEq for DependentVersion
Auto Trait Implementations
impl RefUnwindSafe for DependentVersion
impl Send for DependentVersion
impl Sync for DependentVersion
impl Unpin for DependentVersion
impl UnwindSafe for DependentVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.