pub struct DeclaredDep {
pub package_root: String,
pub name: String,
pub kind: DepKind,
}Expand description
One external dependency declared in a package manifest.
Fields§
§package_root: StringThe package root folder relative to the repository root, with forward slashes, or empty for the repository root.
name: StringThe normalized package name as declared by the manifest.
kind: DepKindWhether the dependency is declared as runtime, dev, or optional.
Trait Implementations§
Source§impl Clone for DeclaredDep
impl Clone for DeclaredDep
Source§impl Debug for DeclaredDep
impl Debug for DeclaredDep
impl Eq for DeclaredDep
Source§impl PartialEq for DeclaredDep
impl PartialEq for DeclaredDep
impl StructuralPartialEq for DeclaredDep
Auto Trait Implementations§
impl Forget for DeclaredDep
impl Freeze for DeclaredDep
impl Move for DeclaredDep
impl RefUnwindSafe for DeclaredDep
impl Send for DeclaredDepwhere
RawVecInner: Send,
impl Sync for DeclaredDepwhere
RawVecInner: Sync,
impl Unpin for DeclaredDep
impl UnsafeUnpin for DeclaredDep
impl UnwindSafe for DeclaredDepwhere
RawVecInner: UnwindSafe,
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