pub struct Metadata {
pub packages: BTreeMap<String, PkgMeta>,
pub members: Vec<String>,
pub workspace_root: String,
}Expand description
The parsed subset of cargo metadata: packages by id, workspace member ids,
and the workspace root directory.
Fields§
§packages: BTreeMap<String, PkgMeta>Package id → its metadata.
members: Vec<String>Workspace member package ids.
workspace_root: StringThe workspace root directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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