pub struct VerifyCommitCommand {
pub commit: String,
pub allowed_signers: PathBuf,
pub identity_bundle: Option<PathBuf>,
pub witness_receipts: Option<PathBuf>,
pub witness_threshold: usize,
pub witness_keys: Vec<String>,
}Fields§
§commit: StringCommit SHA, range (e.g., HEAD~5..HEAD), or “HEAD” (default).
allowed_signers: PathBufPath to allowed signers file.
identity_bundle: Option<PathBuf>Path to identity bundle JSON (for CI/CD stateless verification).
When provided, verification uses the bundle’s public key instead of the allowed_signers file. This enables stateless verification without requiring access to identity repositories.
witness_receipts: Option<PathBuf>Path to witness receipts JSON file.
witness_threshold: usizeWitness quorum threshold (default: 1).
witness_keys: Vec<String>Witness public keys as DID:hex pairs (e.g., “did:key:z6Mk…:abcd1234…”).
Trait Implementations§
Source§impl Args for VerifyCommitCommand
impl Args for VerifyCommitCommand
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 VerifyCommitCommand
impl Clone for VerifyCommitCommand
Source§fn clone(&self) -> VerifyCommitCommand
fn clone(&self) -> VerifyCommitCommand
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 CommandFactory for VerifyCommitCommand
impl CommandFactory for VerifyCommitCommand
Source§impl Debug for VerifyCommitCommand
impl Debug for VerifyCommitCommand
Source§impl FromArgMatches for VerifyCommitCommand
impl FromArgMatches for VerifyCommitCommand
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.Source§impl Parser for VerifyCommitCommand
impl Parser for VerifyCommitCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for VerifyCommitCommand
impl RefUnwindSafe for VerifyCommitCommand
impl Send for VerifyCommitCommand
impl Sync for VerifyCommitCommand
impl Unpin for VerifyCommitCommand
impl UnsafeUnpin for VerifyCommitCommand
impl UnwindSafe for VerifyCommitCommand
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