Struct cargo::core::manifest::ManifestMetadata
[−]
[src]
pub struct ManifestMetadata { pub authors: Vec<String>, pub keywords: Vec<String>, pub categories: Vec<String>, pub license: Option<String>, pub license_file: Option<String>, pub description: Option<String>, pub readme: Option<String>, pub homepage: Option<String>, pub repository: Option<String>, pub documentation: Option<String>, pub badges: HashMap<String, HashMap<String, String>>, }
General metadata about a package which is just blindly uploaded to the registry.
Note that many of these fields can contain invalid values such as the homepage, repository, documentation, or license. These fields are not validated by cargo itself, but rather it is up to the registry when uploaded to validate these fields. Cargo will itself accept any valid TOML specification for these values.
Fields
keywords: Vec<String>
categories: Vec<String>
license: Option<String>
license_file: Option<String>
description: Option<String>
readme: Option<String>
homepage: Option<String>
repository: Option<String>
documentation: Option<String>
badges: HashMap<String, HashMap<String, String>>
Trait Implementations
impl PartialEq for ManifestMetadata
[src]
fn eq(&self, __arg_0: &ManifestMetadata) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ManifestMetadata) -> bool
This method tests for !=
.
impl Clone for ManifestMetadata
[src]
fn clone(&self) -> ManifestMetadata
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more