pub struct Installation {
pub architecture: Option<String>,
pub cpe_uri: Option<String>,
pub license: Option<License>,
pub location: Option<Vec<Location>>,
pub name: Option<String>,
pub package_type: Option<String>,
pub version: Option<Version>,
}
Expand description
This represents how a particular software package may be installed on a system.
This type is not used in any activity, and only used as part of another schema.
Fields§
§architecture: Option<String>
Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
cpe_uri: Option<String>
Output only. The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
license: Option<License>
Licenses that have been declared by the authors of the package.
location: Option<Vec<Location>>
All of the places within the filesystem versions of this package have been found.
name: Option<String>
Required. Output only. The name of the installed package.
package_type: Option<String>
Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
version: Option<Version>
Output only. The version of the package.
Trait Implementations§
Source§impl Clone for Installation
impl Clone for Installation
Source§fn clone(&self) -> Installation
fn clone(&self) -> Installation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Installation
impl Debug for Installation
Source§impl Default for Installation
impl Default for Installation
Source§fn default() -> Installation
fn default() -> Installation
Source§impl<'de> Deserialize<'de> for Installation
impl<'de> Deserialize<'de> for Installation
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>,
Source§impl Serialize for Installation
impl Serialize for Installation
impl Part for Installation
Auto Trait Implementations§
impl Freeze for Installation
impl RefUnwindSafe for Installation
impl Send for Installation
impl Sync for Installation
impl Unpin for Installation
impl UnwindSafe for Installation
Blanket Implementations§
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
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>
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>
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 more