pub struct GeneratedSub {
pub name: String,
pub standalone: Vec<String>,
pub max_positional: usize,
}Expand description
One observed subcommand: its flags and the most positionals seen after it.
Fields§
§name: String§standalone: Vec<String>§max_positional: usizeTrait Implementations§
Source§impl Clone for GeneratedSub
impl Clone for GeneratedSub
Source§impl Debug for GeneratedSub
impl Debug for GeneratedSub
impl Eq for GeneratedSub
Source§impl PartialEq for GeneratedSub
impl PartialEq for GeneratedSub
impl StructuralPartialEq for GeneratedSub
Auto Trait Implementations§
impl Freeze for GeneratedSub
impl RefUnwindSafe for GeneratedSub
impl Send for GeneratedSub
impl Sync for GeneratedSub
impl Unpin for GeneratedSub
impl UnsafeUnpin for GeneratedSub
impl UnwindSafe for GeneratedSub
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.