license
pub fn from_id(id: &str) -> Option<&'static dyn License>
Returns a license based on the provided id.
let mit = license::from_id(MIT.id()).unwrap(); assert_eq!(mit.id(), MIT.id());