pub struct Options {
pub head: String,
pub base: Option<String>,
pub all: bool,
pub allowed_signers: Option<AllowedSigners>,
pub identity: Option<String>,
pub issuer: Option<String>,
pub require_signed: bool,
pub require_verified: bool,
}Expand description
What a branch check is asked.
Fields§
§head: StringThe commit to check (HEAD by default).
base: Option<String>The branch it is compared with; units touched since their merge
base are checked. None: every unit.
all: boolEvery unit, whatever the base.
allowed_signers: Option<AllowedSigners>SSH trust.
identity: Option<String>The Sigstore certificate identity.
issuer: Option<String>The Sigstore OIDC issuer.
require_signed: boolUnsigned evidence is unverifiable (default).
require_verified: boolregression_only and attested fail too.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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