pub struct FileDefinedDependencies {
pub path: PathBuf,
pub registry_host_name: String,
pub dependencies: Vec<Dependency>,
}Expand description
A dependencies specification file found from inspecting the local filesystem.
Fields§
§path: PathBufAbsolute file path for dependencies specification file.
registry_host_name: StringDependencies registry host name.
dependencies: Vec<Dependency>Dependencies specified within the dependencies specification file.
Trait Implementations§
Source§impl Clone for FileDefinedDependencies
impl Clone for FileDefinedDependencies
Source§fn clone(&self) -> FileDefinedDependencies
fn clone(&self) -> FileDefinedDependencies
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileDefinedDependencies
impl Debug for FileDefinedDependencies
Source§impl DependenciesCollection for FileDefinedDependencies
impl DependenciesCollection for FileDefinedDependencies
Source§fn registry_host_name(&self) -> &str
fn registry_host_name(&self) -> &str
Registry host that owns the dependencies.
Source§fn dependencies(&self) -> &[Dependency]
fn dependencies(&self) -> &[Dependency]
Dependencies found for the registry or file.
Source§impl<'de> Deserialize<'de> for FileDefinedDependencies
impl<'de> Deserialize<'de> for FileDefinedDependencies
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 Hash for FileDefinedDependencies
impl Hash for FileDefinedDependencies
Source§impl PartialEq for FileDefinedDependencies
impl PartialEq for FileDefinedDependencies
Source§fn eq(&self, other: &FileDefinedDependencies) -> bool
fn eq(&self, other: &FileDefinedDependencies) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileDefinedDependencies
impl Serialize for FileDefinedDependencies
impl Eq for FileDefinedDependencies
impl StructuralPartialEq for FileDefinedDependencies
Auto Trait Implementations§
impl Freeze for FileDefinedDependencies
impl RefUnwindSafe for FileDefinedDependencies
impl Send for FileDefinedDependencies
impl Sync for FileDefinedDependencies
impl Unpin for FileDefinedDependencies
impl UnsafeUnpin for FileDefinedDependencies
impl UnwindSafe for FileDefinedDependencies
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.