Struct libwally::manifest::Package [−][src]
pub struct Package {
pub name: PackageName,
pub version: Version,
pub registry: String,
pub realm: Realm,
pub description: Option<String>,
pub license: Option<String>,
pub authors: Vec<String>,
}Fields
name: PackageNameThe scope and name of the package.
Example: lpghatguy/asink.
version: VersionThe current version of the package.
Example: 1.0.0
registry: StringThe registry that this package should pull its dependencies from.
Example: https://github.com/UpliftGames/wally-test-index
realm: RealmThe realms (shared, server, etc) that this package can be used in.
Packages in the shared realm can only depend on other shared
packages. Packages in the server realm can depend on any other
package.
Example: shared, server
description: Option<String>A short description of the package.
Example: A game about adopting things.
license: Option<String>An SPDX license specifier for the package.
Example: MIT OR Apache-2.0
A list of the package’s authors.
Example: [“Biff Lumfer biff@playadopt.me”]
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Package
impl UnwindSafe for Package
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self