Enum cargo_release::config::DependentVersion
source · pub enum DependentVersion {
Upgrade,
Fix,
}Variants§
Trait Implementations§
source§impl Clone for DependentVersion
impl Clone for DependentVersion
source§fn clone(&self) -> DependentVersion
fn clone(&self) -> DependentVersion
Returns a copy 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 DependentVersion
impl Debug for DependentVersion
source§impl Default for DependentVersion
impl Default for DependentVersion
source§fn default() -> DependentVersion
fn default() -> DependentVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DependentVersion
impl<'de> Deserialize<'de> for DependentVersion
source§fn 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
source§impl PartialEq for DependentVersion
impl PartialEq for DependentVersion
source§fn eq(&self, other: &DependentVersion) -> bool
fn eq(&self, other: &DependentVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DependentVersion
impl Serialize for DependentVersion
source§impl ValueEnum for DependentVersion
impl ValueEnum for DependentVersion
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§
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
§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.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.