pub struct OutputPackage {Show 42 fields
pub package_type: Option<PackageType>,
pub namespace: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub qualifiers: Option<HashMap<String, String>>,
pub subpath: Option<String>,
pub primary_language: Option<String>,
pub description: Option<String>,
pub release_date: Option<String>,
pub parties: Vec<OutputParty>,
pub keywords: Vec<String>,
pub homepage_url: Option<String>,
pub download_url: Option<String>,
pub size: Option<u64>,
pub sha1: Option<String>,
pub md5: Option<String>,
pub sha256: Option<String>,
pub sha512: Option<String>,
pub bug_tracking_url: Option<String>,
pub code_view_url: Option<String>,
pub vcs_url: Option<String>,
pub copyright: Option<String>,
pub holder: Option<String>,
pub declared_license_expression: Option<String>,
pub declared_license_expression_spdx: Option<String>,
pub license_detections: Vec<OutputLicenseDetection>,
pub other_license_expression: Option<String>,
pub other_license_expression_spdx: Option<String>,
pub other_license_detections: Vec<OutputLicenseDetection>,
pub extracted_license_statement: Option<String>,
pub notice_text: Option<String>,
pub source_packages: Vec<String>,
pub is_private: bool,
pub is_virtual: bool,
pub extra_data: Option<HashMap<String, Value>>,
pub repository_homepage_url: Option<String>,
pub repository_download_url: Option<String>,
pub api_data_url: Option<String>,
pub purl: Option<String>,
pub package_uid: String,
pub datafile_paths: Vec<String>,
pub datasource_ids: Vec<DatasourceId>,
}Fields§
§package_type: Option<PackageType>§namespace: Option<String>§name: Option<String>§version: Option<String>§qualifiers: Option<HashMap<String, String>>§subpath: Option<String>§primary_language: Option<String>§description: Option<String>§release_date: Option<String>§parties: Vec<OutputParty>§keywords: Vec<String>§homepage_url: Option<String>§download_url: Option<String>§size: Option<u64>§sha1: Option<String>§md5: Option<String>§sha256: Option<String>§sha512: Option<String>§bug_tracking_url: Option<String>§code_view_url: Option<String>§vcs_url: Option<String>§copyright: Option<String>§holder: Option<String>§declared_license_expression: Option<String>§declared_license_expression_spdx: Option<String>§license_detections: Vec<OutputLicenseDetection>§other_license_expression: Option<String>§other_license_expression_spdx: Option<String>§other_license_detections: Vec<OutputLicenseDetection>§extracted_license_statement: Option<String>§notice_text: Option<String>§source_packages: Vec<String>§is_private: bool§is_virtual: bool§extra_data: Option<HashMap<String, Value>>§repository_homepage_url: Option<String>§repository_download_url: Option<String>§api_data_url: Option<String>§purl: Option<String>§package_uid: String§datafile_paths: Vec<String>§datasource_ids: Vec<DatasourceId>Trait Implementations§
Source§impl Clone for OutputPackage
impl Clone for OutputPackage
Source§fn clone(&self) -> OutputPackage
fn clone(&self) -> OutputPackage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputPackage
impl Debug for OutputPackage
Source§impl<'de> Deserialize<'de> for OutputPackage
impl<'de> Deserialize<'de> for OutputPackage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Package> for OutputPackage
impl From<&Package> for OutputPackage
Source§impl Serialize for OutputPackage
impl Serialize for OutputPackage
Auto Trait Implementations§
impl Freeze for OutputPackage
impl RefUnwindSafe for OutputPackage
impl Send for OutputPackage
impl Sync for OutputPackage
impl Unpin for OutputPackage
impl UnsafeUnpin for OutputPackage
impl UnwindSafe for OutputPackage
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.