pub struct ParsedIntent {
pub command_path: Vec<String>,
pub normalized_path: Vec<String>,
pub global_flags: ParsedGlobalFlags,
}Expand description
Intent model normalized from clap matches.
Fields§
§command_path: Vec<String>Original path extracted from command tokens.
normalized_path: Vec<String>Normalized path after alias rewriting.
global_flags: ParsedGlobalFlagsParsed global flags regardless of placement.
Trait Implementations§
Source§impl Clone for ParsedIntent
impl Clone for ParsedIntent
Source§fn clone(&self) -> ParsedIntent
fn clone(&self) -> ParsedIntent
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 ParsedIntent
impl Debug for ParsedIntent
Source§impl PartialEq for ParsedIntent
impl PartialEq for ParsedIntent
impl Eq for ParsedIntent
impl StructuralPartialEq for ParsedIntent
Auto Trait Implementations§
impl Freeze for ParsedIntent
impl RefUnwindSafe for ParsedIntent
impl Send for ParsedIntent
impl Sync for ParsedIntent
impl Unpin for ParsedIntent
impl UnsafeUnpin for ParsedIntent
impl UnwindSafe for ParsedIntent
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.