Struct fluvio_index::Release[][src]

pub struct Release {
    pub version: Version,
    pub yanked: bool,
    // some fields omitted
}

A Release is a specific version of a published item in Fluvio’s registry.

Fields

version: Version

The version of the package that this release holds

yanked: bool

If a release is yanked, no client should ever try to download it. A yanked package may have its permalink taken down.

Implementations

impl Release[src]

pub fn new(version: Version, target: Target) -> Self[src]

pub fn add_target(&mut self, target: Target)[src]

Adds a target to this release. If that target already exists, nothing happens

pub fn target_exists(&self, target: Target) -> bool[src]

Trait Implementations

impl Clone for Release[src]

impl Debug for Release[src]

impl<'de> Deserialize<'de> for Release[src]

impl PartialEq<Release> for Release[src]

impl Serialize for Release[src]

impl StructuralPartialEq for Release[src]

Auto Trait Implementations

impl RefUnwindSafe for Release

impl Send for Release

impl Sync for Release

impl Unpin for Release

impl UnwindSafe for Release

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,