pub struct ProjectDependency {
pub from: String,
pub to: String,
pub dependency_type: DependencyType,
pub version_constraint: String,
}Expand description
Represents a dependency between two projects
Fields§
§from: StringName of the project that depends on another
to: StringName of the project being depended on
dependency_type: DependencyTypeType of dependency
version_constraint: StringVersion constraint for the dependency
Trait Implementations§
Source§impl Clone for ProjectDependency
impl Clone for ProjectDependency
Source§fn clone(&self) -> ProjectDependency
fn clone(&self) -> ProjectDependency
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 ProjectDependency
impl Debug for ProjectDependency
Source§impl<'de> Deserialize<'de> for ProjectDependency
impl<'de> Deserialize<'de> for ProjectDependency
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 ProjectDependency
impl RefUnwindSafe for ProjectDependency
impl Send for ProjectDependency
impl Sync for ProjectDependency
impl Unpin for ProjectDependency
impl UnwindSafe for ProjectDependency
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