Struct cargo_make::types::ConfigSection [−] [src]

pub struct ConfigSection {
    pub init_task: Option<String>,
    pub end_task: Option<String>,
}

Holds the configuration found in the makefile toml config section.

Fields

Init task name which will be invoked at the start of every run

End task name which will be invoked at the end of every run

Methods

impl ConfigSection
[src]

Creates and returns a new instance.

Copies values from the config section into self.

Arguments

  • task - The task to copy from

Trait Implementations

impl Debug for ConfigSection
[src]

Formats the value using the given formatter.

impl Clone for ConfigSection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more