pub enum MetadataKey {
Id,
Name,
Version,
ManifestPath,
Pkg,
}Expand description
A key of a row of cargo metadata the toolkit reads.
Variants§
Id
A package’s or a node’s id.
Name
A package’s name.
Version
A package’s version.
ManifestPath
A package’s manifest_path.
Pkg
A dependency’s pkg.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataKey
impl Clone for MetadataKey
impl Copy for MetadataKey
Source§impl Debug for MetadataKey
impl Debug for MetadataKey
impl Eq for MetadataKey
Source§impl PartialEq for MetadataKey
impl PartialEq for MetadataKey
impl StructuralPartialEq for MetadataKey
Auto Trait Implementations§
impl Forget for MetadataKey
impl Freeze for MetadataKey
impl Move for MetadataKey
impl RefUnwindSafe for MetadataKey
impl Send for MetadataKey
impl Sync for MetadataKey
impl Unpin for MetadataKey
impl UnsafeUnpin for MetadataKey
impl UnwindSafe for MetadataKey
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