Struct cargo_metadata::Metadata [] [src]

pub struct Metadata {
    pub packages: Vec<Package>,
    pub workspace_members: Vec<WorkspaceMember>,
    pub resolve: Option<Resolve>,
    pub workspace_root: String,
    pub target_directory: String,
    // some fields omitted
}

Starting point for metadata returned by cargo metadata

Fields

A list of all crates referenced by this crate (and the crate itself)

A list of all workspace members

Dependencies graph

Workspace root

Build directory

Trait Implementations

impl Clone for Metadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Metadata
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Metadata

impl Sync for Metadata