pub struct ContextInfo {
pub app: AppInfo,
pub command: CommandInfo,
pub args: Parsed,
}Expand description
Context metadata
Fields§
§app: AppInfoApplication info
command: CommandInfoCurrent command info
args: ParsedParsed arguments
Trait Implementations§
Source§impl Clone for ContextInfo
impl Clone for ContextInfo
Source§fn clone(&self) -> ContextInfo
fn clone(&self) -> ContextInfo
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 ContextInfo
impl Debug for ContextInfo
Auto Trait Implementations§
impl Freeze for ContextInfo
impl RefUnwindSafe for ContextInfo
impl Send for ContextInfo
impl Sync for ContextInfo
impl Unpin for ContextInfo
impl UnwindSafe for ContextInfo
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