Struct python_packaging::licensing::PackageLicenseInfo [−][src]
pub struct PackageLicenseInfo {
pub package: String,
pub version: String,
pub metadata_licenses: Vec<String>,
pub classifier_licenses: Vec<String>,
pub license_texts: Vec<String>,
pub notice_texts: Vec<String>,
pub is_public_domain: bool,
}Defines license information for a Python package.
Fields
package: StringThe Python package who license info is being annotated.
version: StringVersion string of Python package being annotated.
metadata_licenses: Vec<String>License entries in package metadata.
classifier_licenses: Vec<String>Licenses present in Classifier: License entries in package metadata.
license_texts: Vec<String>Texts of licenses present in the package.
notice_texts: Vec<String>Texts of NOTICE files in the package.
is_public_domain: boolSpecial annotation indicating if the license is in the public domain.
Trait Implementations
impl Clone for PackageLicenseInfo[src]
impl Clone for PackageLicenseInfo[src]fn clone(&self) -> PackageLicenseInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for PackageLicenseInfo[src]
impl Default for PackageLicenseInfo[src]fn default() -> PackageLicenseInfo[src]
impl Eq for PackageLicenseInfo[src]
impl Eq for PackageLicenseInfo[src]impl Ord for PackageLicenseInfo[src]
impl Ord for PackageLicenseInfo[src]impl PartialEq<PackageLicenseInfo> for PackageLicenseInfo[src]
impl PartialEq<PackageLicenseInfo> for PackageLicenseInfo[src]fn eq(&self, other: &PackageLicenseInfo) -> bool[src]
fn ne(&self, other: &PackageLicenseInfo) -> bool[src]
impl StructuralEq for PackageLicenseInfo[src]
impl StructuralEq for PackageLicenseInfo[src]impl TryInto<LicensedComponent> for PackageLicenseInfo[src]
impl TryInto<LicensedComponent> for PackageLicenseInfo[src]Auto Trait Implementations
impl RefUnwindSafe for PackageLicenseInfo
impl RefUnwindSafe for PackageLicenseInfoimpl Send for PackageLicenseInfo
impl Send for PackageLicenseInfoimpl Sync for PackageLicenseInfo
impl Sync for PackageLicenseInfoimpl Unpin for PackageLicenseInfo
impl Unpin for PackageLicenseInfoimpl UnwindSafe for PackageLicenseInfo
impl UnwindSafe for PackageLicenseInfo