pub struct DependencyDetail {
pub version: Option<String>,
pub path: Option<String>,
pub git: Option<String>,
}Expand description
Detailed dependency specification.
Allows specifying dependencies from multiple sources: version requirements, local paths, or git repositories.
Fields§
§version: Option<String>Version requirement (e.g., "^1.0", ">=2.0.0").
path: Option<String>Local filesystem path to the dependency.
git: Option<String>Git repository URL.
Trait Implementations§
Source§impl Clone for DependencyDetail
impl Clone for DependencyDetail
Source§fn clone(&self) -> DependencyDetail
fn clone(&self) -> DependencyDetail
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 DependencyDetail
impl Debug for DependencyDetail
Source§impl<'de> Deserialize<'de> for DependencyDetail
impl<'de> Deserialize<'de> for DependencyDetail
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 DependencyDetail
impl RefUnwindSafe for DependencyDetail
impl Send for DependencyDetail
impl Sync for DependencyDetail
impl Unpin for DependencyDetail
impl UnwindSafe for DependencyDetail
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