[][src]Struct cargo_metadata::DepKindInfo

pub struct DepKindInfo {
    pub kind: DependencyKind,
    pub target: Option<Platform>,
    // some fields omitted
}

Information about a dependency kind.

Fields

kind: DependencyKind

The kind of dependency.

target: Option<Platform>

The target platform for the dependency.

This is None if it is not a target dependency.

Use the Display trait to access the contents.

By default all platform dependencies are included in the resolve graph. Use Cargo's --filter-platform flag if you only want to include dependencies for a specific platform.

Trait Implementations

impl Clone for DepKindInfo[src]

impl Debug for DepKindInfo[src]

impl<'de> Deserialize<'de> for DepKindInfo[src]

impl Serialize for DepKindInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.