pub fn id(&self) -> &str {
        match *self {
            Template::Apache2 => "Apache-2.0",
            Template::Gpl3 => "GPL-3.0",
            Template::Mit => "MIT",
            Template::Wxs => "WXS",
        }
    }
/// 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 `cargo wix print` subcommand.
///
/// # Examples
///
/// ```rust
/// use wix::Template;
///
/// assert_eq!(Template::Apache2.id(), "Apache-2.0");
/// assert_eq!(Template::Gpl3.id(), "GPL-3.0");
/// assert_eq!(Template::Mit.id(), "MIT");
/// assert_eq!(Template::Wxs.id(), "WXS");
/// ```
///
/// [SPDX ID]: https://spdx.org/licenses/

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 `cargo wix print` subcommand.
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 ` cargo wix print ` subcommand .
pub fn id(&self) -> &str {
        match *self {
            Template::Apache2 => "Apache-2.0",
            Template::Gpl3 => "GPL-3.0",
            Template::Mit => "MIT",
            Template::Wxs => "WXS",
        }
    }
pub fn id ( & self ) -> & str { match * self { Template :: Apache2 => " " , Template :: Gpl3 => " " , Template :: Mit => " " , Template :: Wxs => " " , } }
Gets the ID for the template.
Gets the ID for the template .
&self
examples

```rust
use wix::Template.




` ` ` rust use wix :: Template .