pub struct DependencyResolutionResult {
pub requested: Vec<String>,
pub resolved: HashMap<String, String>,
pub conflicts: Vec<VersionConflict>,
pub unresolvable: Vec<String>,
pub success: bool,
}Expand description
Dependency resolution result
Fields§
§requested: Vec<String>§resolved: HashMap<String, String>§conflicts: Vec<VersionConflict>§unresolvable: Vec<String>§success: boolImplementations§
Source§impl DependencyResolutionResult
impl DependencyResolutionResult
pub fn new() -> Self
pub fn add_conflict(&mut self, conflict: VersionConflict)
pub fn add_unresolvable(&mut self, name: String)
pub fn resolved_count(&self) -> usize
Trait Implementations§
Source§impl Clone for DependencyResolutionResult
impl Clone for DependencyResolutionResult
Source§fn clone(&self) -> DependencyResolutionResult
fn clone(&self) -> DependencyResolutionResult
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 DependencyResolutionResult
impl Debug for DependencyResolutionResult
Source§impl Default for DependencyResolutionResult
impl Default for DependencyResolutionResult
Source§impl<'de> Deserialize<'de> for DependencyResolutionResult
impl<'de> Deserialize<'de> for DependencyResolutionResult
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 DependencyResolutionResult
impl RefUnwindSafe for DependencyResolutionResult
impl Send for DependencyResolutionResult
impl Sync for DependencyResolutionResult
impl Unpin for DependencyResolutionResult
impl UnsafeUnpin for DependencyResolutionResult
impl UnwindSafe for DependencyResolutionResult
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