Struct gong::options::LongOption
source · Expand description
Description of an available long option
Fields§
§name: &'a str
Long option name, excluding the --
prefix
expects_data: bool
Whether option expects a data argument
Trait Implementations§
source§impl<'a> Clone for LongOption<'a>
impl<'a> Clone for LongOption<'a>
source§fn clone(&self) -> LongOption<'a>
fn clone(&self) -> LongOption<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more