pub struct Args {
    pub keyring: PathBuf,
    pub tag: Option<String>,
    pub commit: Option<String>,
    pub resolve_unsigned_tag: bool,
    pub prefix: Option<String>,
    pub name: Option<String>,
    pub format: String,
    pub repo: String,
    pub tarball: String,
}
Expand description

Verify a tarball using signed git tags and reproducible builds

Fields

keyring: PathBuf

A file with trusted public keys to verify with

tag: Option<String>

The tag to verify and use to reproduce the tarball

commit: Option<String>

Specify a signed commit that should be used instead of a signed tag

resolve_unsigned_tag: bool

Resolve a tag to a commit and verify

prefix: Option<String>

The prefix to use when generating the tarball, this is automatically detected otherwise

name: Option<String>

Use this name for the archive prefix instead of deriving one automatically

format: String

Use a specific format for the archive

repo: String

The remote repository to clone

tarball: String

Path to the tarball that should be verified

Trait Implementations

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

👎 Deprecated since 3.1.0:

Replaced with `CommandFactory::command

Deprecated, replaced with CommandFactory::command

👎 Deprecated since 3.1.0:

Replaced with `CommandFactory::command_for_update

Deprecated, replaced with CommandFactory::command_for_update

Build a Command that can instantiate Self. Read more

Build a Command that can update self. Read more

Formats the value using the given formatter. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Parse from std::env::args_os(), exit on error

Parse from std::env::args_os(), return Err on error.

Parse from iterator, exit on error

Parse from iterator, return Err on error.

Update from iterator, exit on error

Update from iterator, return Err on error.

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.