pub struct VexEmbedArgs {
pub vex: Option<PathBuf>,
pub vex_product: Option<String>,
pub vex_no_verify: bool,
pub vex_doc_id: Option<String>,
pub vex_compact: bool,
}Expand description
VEX-generation knobs embedded into apply and scan via --vex.
--vex <path> is the trigger: when set, the host command generates an
OpenVEX document at that path after a successful run. The remaining
--vex-* flags mirror the standalone vex command’s knobs but are
namespaced so they don’t collide with the host command’s own
vocabulary (e.g. apply’s --force). They are inert unless --vex is
set.
Fields§
§vex: Option<PathBuf>Generate an OpenVEX 0.2.0 document at this path after a successful
run. The document is always written to the file (never stdout), so
it never races the command’s own --json output.
vex_product: Option<String>Override the auto-detected top-level product PURL for the VEX
document. See socket-patch vex --product.
vex_no_verify: boolSkip the on-disk file-hash check when building the VEX document and
trust the manifest. See socket-patch vex --no-verify.
vex_doc_id: Option<String>Pin the VEX document @id. See socket-patch vex --doc-id.
vex_compact: boolEmit compact (non-pretty) JSON for the VEX document.
Trait Implementations§
Source§impl Args for VexEmbedArgs
impl Args for VexEmbedArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for VexEmbedArgs
impl Clone for VexEmbedArgs
Source§fn clone(&self) -> VexEmbedArgs
fn clone(&self) -> VexEmbedArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for VexEmbedArgs
impl Default for VexEmbedArgs
Source§fn default() -> VexEmbedArgs
fn default() -> VexEmbedArgs
Source§impl FromArgMatches for VexEmbedArgs
impl FromArgMatches for VexEmbedArgs
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for VexEmbedArgs
impl RefUnwindSafe for VexEmbedArgs
impl Send for VexEmbedArgs
impl Sync for VexEmbedArgs
impl Unpin for VexEmbedArgs
impl UnsafeUnpin for VexEmbedArgs
impl UnwindSafe for VexEmbedArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more