Struct cargo_toml_builder::types::Dependency [] [src]

pub struct Dependency {
    pub label: String,
    pub dep_type: DependencyType,
    pub optional: Option<bool>,
    pub default_features: Option<bool>,
}

Fields

Methods

impl Dependency
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for Dependency
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Dependency
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Dependency
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> From<&'a str> for Dependency
[src]

[src]

Performs the conversion.

impl From<String> for Dependency
[src]

[src]

Performs the conversion.

impl<'a> From<&'a Dependency> for Dependency
[src]

[src]

Performs the conversion.

impl<'a> From<&'a mut Dependency> for Dependency
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Dependency

impl Sync for Dependency