pub struct TargetEvidence {
pub documents: BTreeMap<String, Vec<u8>>,
pub crate_shape: CrateShape,
pub flake_nix_present: bool,
pub flake_lock_present: bool,
pub flake_recorded: bool,
pub root_pipeline_present: bool,
pub root_pipeline_recorded: bool,
}Expand description
What a projection needs to know about the target, gathered before the projection runs and carried as values.
Fields§
§documents: BTreeMap<String, Vec<u8>>The complete existing document at each block destination that exists on disk, keyed by destination. An absent key is an absent file.
crate_shape: CrateShapeThe crate facts the Nix seed relies on.
flake_nix_present: boolWhether flake.nix is present at the target, a link included.
flake_lock_present: boolWhether flake.lock is present at the target, a link included.
flake_recorded: boolWhether the receipt already records flake.nix: a pair release-kit
landed is its own and is never withheld.
root_pipeline_present: boolWhether .gitlab-ci.yml is present at the target, a link included.
root_pipeline_recorded: boolWhether the receipt already records .gitlab-ci.yml: a root
pipeline release-kit landed is its own and is never withheld.
Implementations§
Trait Implementations§
Source§impl Clone for TargetEvidence
impl Clone for TargetEvidence
Source§impl Debug for TargetEvidence
impl Debug for TargetEvidence
Source§impl Default for TargetEvidence
impl Default for TargetEvidence
impl Eq for TargetEvidence
Source§impl PartialEq for TargetEvidence
impl PartialEq for TargetEvidence
impl StructuralPartialEq for TargetEvidence
Auto Trait Implementations§
impl Freeze for TargetEvidence
impl RefUnwindSafe for TargetEvidence
impl Send for TargetEvidence
impl Sync for TargetEvidence
impl Unpin for TargetEvidence
impl UnsafeUnpin for TargetEvidence
impl UnwindSafe for TargetEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.