pub struct AuditCommand {
pub extra_args: Vec<String>,
}Expand description
Scan the project’s lockfile for known-malicious or vulnerable package versions. Delegates to the ecosystem’s native audit tool (npm audit, cargo audit, etc.) and runs on the host (not in a sandbox) so it can reach advisory databases.
Fields§
§extra_args: Vec<String>Extra arguments forwarded to the underlying audit tool.
Trait Implementations§
Source§impl Args for AuditCommand
impl Args for AuditCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for AuditCommand
impl Clone for AuditCommand
Source§fn clone(&self) -> AuditCommand
fn clone(&self) -> AuditCommand
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 AuditCommand
impl Debug for AuditCommand
Source§impl Default for AuditCommand
impl Default for AuditCommand
Source§fn default() -> AuditCommand
fn default() -> AuditCommand
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for AuditCommand
impl FromArgMatches for AuditCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for AuditCommand
impl RefUnwindSafe for AuditCommand
impl Send for AuditCommand
impl Sync for AuditCommand
impl Unpin for AuditCommand
impl UnsafeUnpin for AuditCommand
impl UnwindSafe for AuditCommand
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