pub enum TransformDecision {
Applied {
outcome: TransformPassExecutionOutcomeV0,
rollback_receipt: RollbackReceiptV0,
semantic_guarantee_tier: Option<TransformSemanticGuaranteeTierV0>,
discharge_evidence: Vec<TransformDischargeEvidenceV0>,
},
NoChange {
reason: TransformNoChangeReasonV0,
outcome: TransformPassExecutionOutcomeV0,
},
Blocked {
reason: TransformBlockedReasonV0,
outcome: TransformPassExecutionOutcomeV0,
},
Rejected {
reason: TransformRejectionReasonV0,
outcome: TransformPassExecutionOutcomeV0,
rollback_receipt: RollbackReceiptV0,
},
}Variants§
Applied
Fields
§
outcome: TransformPassExecutionOutcomeV0§
rollback_receipt: RollbackReceiptV0§
semantic_guarantee_tier: Option<TransformSemanticGuaranteeTierV0>§
discharge_evidence: Vec<TransformDischargeEvidenceV0>NoChange
Blocked
Rejected
Fields
§
reason: TransformRejectionReasonV0§
outcome: TransformPassExecutionOutcomeV0§
rollback_receipt: RollbackReceiptV0Implementations§
Source§impl TransformDecision
impl TransformDecision
pub fn compatibility_outcome(&self) -> &TransformPassExecutionOutcomeV0
pub fn into_compatibility_outcome(self) -> TransformPassExecutionOutcomeV0
pub fn rollback_receipt(&self) -> Option<&RollbackReceiptV0>
pub fn semantic_guarantee_tier( &self, ) -> Option<&TransformSemanticGuaranteeTierV0>
Trait Implementations§
Source§impl Clone for TransformDecision
impl Clone for TransformDecision
Source§fn clone(&self) -> TransformDecision
fn clone(&self) -> TransformDecision
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 TransformDecision
impl Debug for TransformDecision
impl Eq for TransformDecision
Source§impl PartialEq for TransformDecision
impl PartialEq for TransformDecision
Source§impl Serialize for TransformDecision
impl Serialize for TransformDecision
impl StructuralPartialEq for TransformDecision
Auto Trait Implementations§
impl Freeze for TransformDecision
impl RefUnwindSafe for TransformDecision
impl Send for TransformDecision
impl Sync for TransformDecision
impl Unpin for TransformDecision
impl UnsafeUnpin for TransformDecision
impl UnwindSafe for TransformDecision
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.