Struct inwelling::Section[][src]

pub struct Section {
    pub pkg: String,
    pub manifest: PathBuf,
    pub metadata: Value,
    pub rs_paths: Option<Vec<PathBuf>>,
}

Information collected from one downstream crate. Including:

  • Package name.

  • Cargo.toml file’ path.

  • metadata from [package.metadata.inwelling.*] section in Cargo.toml file.

  • Optional .rs file paths.

Fields

pkg: String

name of the package which collects metadata from its downstream crates.

manifest: PathBuf

path of Cargo.toml.

metadata: Value

metadata represented in JSON.

rs_paths: Option<Vec<PathBuf>>

.rs files under src/, examples/ and tests/ directories if dump_rs_file is true, otherwise None.

Trait Implementations

impl Debug for Section[src]

Auto Trait Implementations

impl RefUnwindSafe for Section

impl Send for Section

impl Sync for Section

impl Unpin for Section

impl UnwindSafe for Section

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TupleTree<T, ()> for T