Struct fluvio_index::Package[][src]

pub struct Package {
    pub name: PackageName,
    pub group: GroupName,
    pub kind: PackageKind,
    pub author: Option<String>,
    pub description: Option<String>,
    pub repository: Option<String>,
    // some fields omitted
}
Expand description

A Package represents a single published item in Fluvio’s registry.

Each time you publish an updated version of a package, that version is known as a Release.

A package has a specified type, and all releases of that package must be the same type.

Fields

name: PackageName

The unique name of this package

group: GroupName

The ID of the group that published the package

kind: PackageKind

The type of package this is

author: Option<String>

The author of this package

description: Option<String>

The human-readable description of this package

repository: Option<String>

A link to the source code repository of this package

Implementations

Returns a reference to the latest release for this package

Returns a reference to the latest release with this target

If prerelease is false, this will return only the latest release whose version does not include a prerelease tag.

Adds a new release to this package. This will reject a release if a release by the same version exists.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.