pub enum Repetition {
Single,
Multiple,
}Expand description
Information about whether a parameter may appear more than once on the command line. Note that a mandatory parameter must always appear at least once. Additionally note that some parameters allow subsequent instances to override earlier instances; these parameters as still considered non-repeating.
Variants§
Single
This parameter should only appear at most once on the command line
Multiple
This parameter may appear more than once on the command line
Trait Implementations§
Source§impl Clone for Repetition
impl Clone for Repetition
Source§fn clone(&self) -> Repetition
fn clone(&self) -> Repetition
Returns a duplicate 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 moreSource§impl Debug for Repetition
impl Debug for Repetition
Source§impl PartialEq for Repetition
impl PartialEq for Repetition
impl Copy for Repetition
impl Eq for Repetition
impl StructuralPartialEq for Repetition
Auto Trait Implementations§
impl Freeze for Repetition
impl RefUnwindSafe for Repetition
impl Send for Repetition
impl Sync for Repetition
impl Unpin for Repetition
impl UnwindSafe for Repetition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more