pub struct CommandSpec<'a> {
pub verb: ToolVerb,
pub artifact_class: &'a str,
pub description: &'a str,
}Expand description
Shared command metadata used by top-level packages and downstream tools.
Fields§
§verb: ToolVerbCanonical verb.
artifact_class: &'a strArtifact class produced or consumed by the command.
description: &'a strShort command purpose.
Trait Implementations§
Source§impl<'a> Clone for CommandSpec<'a>
impl<'a> Clone for CommandSpec<'a>
Source§fn clone(&self) -> CommandSpec<'a>
fn clone(&self) -> CommandSpec<'a>
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<'a> Debug for CommandSpec<'a>
impl<'a> Debug for CommandSpec<'a>
Source§impl<'a> PartialEq for CommandSpec<'a>
impl<'a> PartialEq for CommandSpec<'a>
impl<'a> Copy for CommandSpec<'a>
impl<'a> Eq for CommandSpec<'a>
impl<'a> StructuralPartialEq for CommandSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommandSpec<'a>
impl<'a> RefUnwindSafe for CommandSpec<'a>
impl<'a> Send for CommandSpec<'a>
impl<'a> Sync for CommandSpec<'a>
impl<'a> Unpin for CommandSpec<'a>
impl<'a> UnsafeUnpin for CommandSpec<'a>
impl<'a> UnwindSafe for CommandSpec<'a>
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