pub struct Metadata {
    pub version: Cow<'static, str>,
    pub name: Cow<'static, str>,
    pub authors: Cow<'static, str>,
    pub homepage: Cow<'static, str>,
}
Expand description

A convenient metadata struct that describes a crate

Fields

version: Cow<'static, str>

The crate version

name: Cow<'static, str>

The crate name

authors: Cow<'static, str>

The list of authors of the crate

homepage: Cow<'static, str>

The URL of the crate’s website

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.