pub struct DependencyEntry {
pub url: Option<SourceUrl>,
pub path: Option<PathBuf>,
pub version: Option<String>,
pub filter: FilterConfig,
}Expand description
Unified dependency specification — replaces both old DepSpec and SourceEntry. Used in [dependencies] for both “what to install locally” (consumer) and “what downstream consumers inherit” (package manifest).
Fields§
§url: Option<SourceUrl>§path: Option<PathBuf>§version: Option<String>§filter: FilterConfigTrait Implementations§
Source§impl Clone for DependencyEntry
impl Clone for DependencyEntry
Source§fn clone(&self) -> DependencyEntry
fn clone(&self) -> DependencyEntry
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 DependencyEntry
impl Debug for DependencyEntry
Source§impl<'de> Deserialize<'de> for DependencyEntry
impl<'de> Deserialize<'de> for DependencyEntry
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 DependencyEntry
impl PartialEq for DependencyEntry
Source§impl Serialize for DependencyEntry
impl Serialize for DependencyEntry
impl StructuralPartialEq for DependencyEntry
Auto Trait Implementations§
impl Freeze for DependencyEntry
impl RefUnwindSafe for DependencyEntry
impl Send for DependencyEntry
impl Sync for DependencyEntry
impl Unpin for DependencyEntry
impl UnsafeUnpin for DependencyEntry
impl UnwindSafe for DependencyEntry
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