pub struct BuildTrigger {
pub identity: BuildIdentity,
}Expand description
Sent by the daemon to the build/CAS layer to request that a green input set
be made servable. The only legitimate cause of a BuildTrigger is a
StateEvent::BecameGreen — red inputs are never built (AC#4).
It carries the full BuildIdentity (not just the derived InputHash)
so the CAS can both compute its key and persist honest provenance for the
resulting ArtifactMeta.
Fields§
§identity: BuildIdentityTrait Implementations§
Source§impl Clone for BuildTrigger
impl Clone for BuildTrigger
Source§fn clone(&self) -> BuildTrigger
fn clone(&self) -> BuildTrigger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuildTrigger
impl Debug for BuildTrigger
Source§impl PartialEq for BuildTrigger
impl PartialEq for BuildTrigger
Source§fn eq(&self, other: &BuildTrigger) -> bool
fn eq(&self, other: &BuildTrigger) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BuildTrigger
impl StructuralPartialEq for BuildTrigger
Auto Trait Implementations§
impl Freeze for BuildTrigger
impl RefUnwindSafe for BuildTrigger
impl Send for BuildTrigger
impl Sync for BuildTrigger
impl Unpin for BuildTrigger
impl UnsafeUnpin for BuildTrigger
impl UnwindSafe for BuildTrigger
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