Skip to main content

Module license

Module license 

Source

Re-exports§

pub use crate::TagLicenseFlags as LicenseFlags;

Functions§

all_licenses
Returns a list of known license references (in form of URIs). This is useful for UIs to build a list of available licenses for tagging purposes (e.g. to tag an audio track appropriately in a video or audio editor, or an image in a camera application).
description
Get the description of a license, which is a translated description of the license’s main features.
flags
Get the flags of a license, which describe most of the features of a license in their most general form.
jurisdiction
Get the jurisdiction code of a license. This is usually a two-letter ISO 3166-1 alpha-2 code, but there is also the special case of Scotland, for which no code exists and which is thus represented as “scotland”.
nick
Get the nick name of a license, which is a short (untranslated) string such as e.g. “CC BY-NC-ND 2.0 UK”.
title
Get the title of a license, which is a short translated description of the license’s features (generally not very pretty though).
version
Get the version of a license.