Enum askalono::LicenseType [−][src]
pub enum LicenseType { Original, Header, Alternate, }
The type of a license entry (typically in a Store
).
Variants
Original
The canonical text of the license.
Header
A license header. There may be more than one in a Store
.
Alternate
An alternate form of a license. This is intended to be used for alternate formats of a license, not for variants where the text has different meaning. Not currently used in askalono's SPDX dataset.
Trait Implementations
impl Clone for LicenseType
[src]
impl Clone for LicenseType
fn clone(&self) -> LicenseType
[src]
fn clone(&self) -> LicenseType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for LicenseType
[src]
impl Copy for LicenseType
impl PartialEq for LicenseType
[src]
impl PartialEq for LicenseType
fn eq(&self, other: &LicenseType) -> bool
[src]
fn eq(&self, other: &LicenseType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for LicenseType
[src]
impl Debug for LicenseType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for LicenseType
[src]
impl Display for LicenseType
Auto Trait Implementations
impl Send for LicenseType
impl Send for LicenseType
impl Sync for LicenseType
impl Sync for LicenseType