Enum cargo_wix::Template [] [src]

pub enum Template {
    Apache2,
    Gpl3,
    Mit,
    Wxs,
}

The different templates that can be printed using the --print-template option.

Variants

Methods

impl Template
[src]

[src]

Gets the ID for the template.

In the case of a license template, the ID is the SPDX ID which is also used for the license field in the package's manifest (Cargo.toml). This is also the same value used with the --print-template option.

[src]

Gets the possible string representations of each variant.

[src]

Gets the embedded contents of the template as a string.

Trait Implementations

impl Debug for Template
[src]

[src]

Formats the value using the given formatter.

impl Clone for Template
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Template
[src]

impl PartialEq for Template
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for Template
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Template
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more