pub struct PromotionDecision {
pub digest: ContentDigest,
pub proposal: ContentDigest,
pub evaluation_facts: Vec<ContentDigest>,
pub policy: ContentDigest,
pub outcome: PromotionOutcome,
pub selected_artifact_set: ContentDigest,
}Fields§
§digest: ContentDigest§proposal: ContentDigest§evaluation_facts: Vec<ContentDigest>§policy: ContentDigest§outcome: PromotionOutcome§selected_artifact_set: ContentDigestImplementations§
Source§impl PromotionDecision
impl PromotionDecision
pub fn verify_digest(&self) -> Result<(), EvolutionError>
Trait Implementations§
Source§impl Clone for PromotionDecision
impl Clone for PromotionDecision
Source§fn clone(&self) -> PromotionDecision
fn clone(&self) -> PromotionDecision
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 PromotionDecision
impl Debug for PromotionDecision
Source§impl<'de> Deserialize<'de> for PromotionDecision
impl<'de> Deserialize<'de> for PromotionDecision
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PromotionDecision
Source§impl PartialEq for PromotionDecision
impl PartialEq for PromotionDecision
Source§impl Serialize for PromotionDecision
impl Serialize for PromotionDecision
impl StructuralPartialEq for PromotionDecision
Auto Trait Implementations§
impl Freeze for PromotionDecision
impl RefUnwindSafe for PromotionDecision
impl Send for PromotionDecision
impl Sync for PromotionDecision
impl Unpin for PromotionDecision
impl UnsafeUnpin for PromotionDecision
impl UnwindSafe for PromotionDecision
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