pub struct BuildOptions {
pub sequence: u64,
pub created_at: DateTime<Utc>,
pub expires_at: Option<DateTime<Utc>>,
pub supplier: String,
pub producer: String,
pub policy: TrustPolicy,
pub approvals: Vec<(String, SignerFiles)>,
pub release: SignerFiles,
pub out: PathBuf,
}Expand description
What the bundle says about itself, and who signs it.
Fields§
§sequence: u64Monotonic per (supplier, holger.intel/v1). The secure side refuses a
bundle whose sequence is below the one it already holds.
created_at: DateTime<Utc>§expires_at: Option<DateTime<Utc>>§supplier: String§producer: String§policy: TrustPolicyThe trust policy the downstream verifies against; finalize checks the
bundle under it before it is written.
approvals: Vec<(String, SignerFiles)>Approvals, (role, signer), as many as the policy’s two-person rule asks.
release: SignerFiles§out: PathBufAuto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnsafeUnpin for BuildOptions
impl UnwindSafe for BuildOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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