pub struct ExternalRef {
pub category: Option<String>,
pub comment: Option<String>,
pub locator: Option<String>,
pub type_: Option<String>,
}Expand description
An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
This type is not used in any activity, and only used as part of another schema.
Fields§
§category: Option<String>An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
comment: Option<String>Human-readable information about the purpose and target of the reference
locator: Option<String>The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
type_: Option<String>Type of category (e.g. ‘npm’ for the PACKAGE_MANAGER category)
Trait Implementations§
Source§impl Clone for ExternalRef
impl Clone for ExternalRef
Source§fn clone(&self) -> ExternalRef
fn clone(&self) -> ExternalRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more