pub enum ResolutionStrategy {
KeepNewer,
KeepOlder,
Merge,
Manual,
MetadataPriority(String),
Custom(String),
}Expand description
Resolution strategies for conflicts
Variants§
KeepNewer
Always keep the newer version
KeepOlder
Always keep the older version
Merge
Merge changes when possible
Manual
Manual resolution required
MetadataPriority(String)
Use metadata priority
Custom(String)
Custom resolution logic
Trait Implementations§
Source§impl Clone for ResolutionStrategy
impl Clone for ResolutionStrategy
Source§fn clone(&self) -> ResolutionStrategy
fn clone(&self) -> ResolutionStrategy
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 ResolutionStrategy
impl Debug for ResolutionStrategy
Source§impl<'de> Deserialize<'de> for ResolutionStrategy
impl<'de> Deserialize<'de> for ResolutionStrategy
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
Auto Trait Implementations§
impl Freeze for ResolutionStrategy
impl RefUnwindSafe for ResolutionStrategy
impl Send for ResolutionStrategy
impl Sync for ResolutionStrategy
impl Unpin for ResolutionStrategy
impl UnwindSafe for ResolutionStrategy
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