[−][src]Trait license::License
Base functionality for all licenses.
Required methods
pub fn name(&self) -> &'static str
[src]
The name of the license.
Corresponds to the Full name column from spdx.org/licenses.
pub fn id(&self) -> &'static str
[src]
The identifier of the license.
Corresponds to the Identifier column from spdx.org/licenses.
pub fn text(&self) -> &'static str
[src]
The license text.
pub fn header(&self) -> Option<&'static str>
[src]
The standard license header.
pub fn is_osi_approved(&self) -> bool
[src]
Says if the license is OSI approved.
Corresponds to the OSI Approved? column from spdx.org/licenses.
pub fn is_fsf_libre(&self) -> bool
[src]
Says if the license is FSF Libre.
Corresponds to the FSF Free/Libre? column from spdx.org/licenses.
pub fn is_deprecated(&self) -> bool
[src]
Says if the license is deprecated.
pub fn see_also(&self) -> &'static [&'static str]
[src]
Relevant sources.