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