pub struct GeneratedEntry {
pub name: String,
pub standalone: Vec<String>,
pub max_positional: usize,
pub level: String,
}Expand description
A scoped custom-command entry for one unknown command name.
Fields§
§name: String§standalone: Vec<String>Observed flags, sorted and de-duplicated (every --prefixed argument, verbatim).
max_positional: usizeThe largest positional-argument count observed across occurrences.
level: StringTrait Implementations§
Source§impl Clone for GeneratedEntry
impl Clone for GeneratedEntry
Source§fn clone(&self) -> GeneratedEntry
fn clone(&self) -> GeneratedEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeneratedEntry
impl Debug for GeneratedEntry
impl Eq for GeneratedEntry
Source§impl PartialEq for GeneratedEntry
impl PartialEq for GeneratedEntry
impl StructuralPartialEq for GeneratedEntry
Auto Trait Implementations§
impl Freeze for GeneratedEntry
impl RefUnwindSafe for GeneratedEntry
impl Send for GeneratedEntry
impl Sync for GeneratedEntry
impl Unpin for GeneratedEntry
impl UnsafeUnpin for GeneratedEntry
impl UnwindSafe for GeneratedEntry
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.