[][src]Enum cargo_toml_builder::types::License

pub enum License {
    Mit,
    Apache2,
    Gplv3,
    Bsd,
    Mpl,
    Agplv3,
    Other(String),
}

Licenses for the license = "" attribute

Variants

Mit

license = "MIT"

Apache2

license = "APACHE-2.0"

Gplv3

license = "GPL-3.0"

Bsd

license = "BSD"

Mpl

license = "MPL"

Agplv3

license = "AGPL-3.0"

Other(String)

Any other license

Trait Implementations

impl PartialEq<License> for License[src]

impl Clone for License[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<String> for License[src]

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

impl Display for License[src]

impl Debug for License[src]

Auto Trait Implementations

impl Send for License

impl Sync for License

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]