Struct getopts::OptUnstable
[-] [+]
[src]
pub struct Opt {
pub name: Name,
pub hasarg: HasArg,
pub occur: Occur,
pub aliases: Vec<Opt>,
}A description of a possible option.
Fields
name | Name of the option |
hasarg | Whether it has an argument |
occur | How often it can occur |
aliases | Which options it aliases |