Trait license::License
[−]
[src]
pub trait License { fn name() -> &'static str; fn license(&self) -> &str; fn permissions() -> Permissions; fn conditions() -> Conditions; fn limitations() -> Limitations; fn homepage() -> Option<&'static str> { ... } }
Trait implemented by all licenses.
Required Methods
fn name() -> &'static str
The name of the license.
fn license(&self) -> &str
The license.
fn permissions() -> Permissions
The permissions of the license.
fn conditions() -> Conditions
The conditions of the license.
fn limitations() -> Limitations
The limitations of the license.