/// Returns the license identifier, if it is a recognized SPDX license and not
/// a license referencer
Returns the license identifier, if it is a recognized SPDX license and not
a license referencer
Returns the license identifier if it is a recognized SPDX license and not a license referencer
pub fn id(&self) -> Option<LicenseId> {
        match self {
            Self::SPDX { id, .. } => Some(*id),
            _ => None,
        }
    }
pub fn id ( & self ) -> Option < LicenseId > { match self { Self :: SPDX { id , .. } => Some ( * id ) , _ => None , } }
Returns the license identifier, if it is a recognized SPDX license and not
a license referencer
Returns the license identifier if it is a recognized SPDX license and not a license referencer
&self