Enum license::LicenseKind [] [src]

pub enum LicenseKind {
    Apache2(Apache2),
    Mit(Mit),
}

Enum containing all supported licenses.

Variants

Trait Implementations

impl Clone for LicenseKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LicenseKind
[src]

Formats the value using the given formatter.

impl Eq for LicenseKind
[src]

impl PartialEq for LicenseKind
[src]

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

This method tests for !=.

impl Hash for LicenseKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for LicenseKind
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for LicenseKind
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl License for LicenseKind
[src]

The name of the license. Read more

The identifier of the license. Read more

Says if the license is OSI approved. Read more

The license text.

The permissions of the license.

The conditions of the license.

The limitations of the license.

The homepage of the license.

impl Display for LicenseKind
[src]

Formats the value using the given formatter. Read more

impl AsRef<str> for LicenseKind
[src]

Performs the conversion.

impl AsRef<OsStr> for LicenseKind
[src]

Performs the conversion.

impl AsRef<[u8]> for LicenseKind
[src]

Performs the conversion.