Struct gapi_grpc::grafeas::v1::Distribution[][src]

pub struct Distribution {
    pub cpe_uri: String,
    pub architecture: i32,
    pub latest_version: Option<Version>,
    pub maintainer: String,
    pub url: String,
    pub description: String,
}

This represents a particular channel of distribution for a given package. E.g., Debian’s jessie-backports dpkg mirror.

Fields

cpe_uri: String

Required. The cpe_uri in CPE format denoting the package manager version distributing a package.

architecture: i32

The CPU architecture for which packages in this distribution channel were built.

latest_version: Option<Version>

The latest available version of this package in this distribution channel.

maintainer: String

A freeform string denoting the maintainer of this package.

url: String

The distribution channel-specific homepage for this package.

description: String

The distribution channel-specific description of this package.

Implementations

impl Distribution[src]

pub fn architecture(&self) -> Architecture[src]

Returns the enum value of architecture, or the default if the field is set to an invalid enum value.

pub fn set_architecture(&mut self, value: Architecture)[src]

Sets architecture to the provided enum value.

Trait Implementations

impl Clone for Distribution[src]

impl Debug for Distribution[src]

impl Default for Distribution[src]

impl Message for Distribution[src]

impl PartialEq<Distribution> for Distribution[src]

impl StructuralPartialEq for Distribution[src]

Auto Trait Implementations

impl RefUnwindSafe for Distribution

impl Send for Distribution

impl Sync for Distribution

impl Unpin for Distribution

impl UnwindSafe for Distribution

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]