Struct lorry::Program[][src]

pub struct Program { /* fields omitted */ }
Expand description

The heart of your spec

Implementations

Adds a license

Required but defaults to MIT

Creates a new program struct.

Adds a readme path

OPTIONAL

Adds a documentation path

OPTIONAL

Adds a readme path

OPTIONAL

Edition

Specifies the rust edition It is required but defaults to rust 2018

Adds an author

It is required

Sets the version

It is required

Checks the package for invalid config

Sets the repository Optional

Adds a name propety under the package section

Names are required

Adds a dependency

Generates cargo toml.

Also runs the check function

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.

Performs the conversion.

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.