pub struct PromotionDecision {
pub authority: PromotionAuthority,
pub canary: Option<CanaryBinding>,
}Expand description
The promotion gate’s positive decision: the authority the promotion
clears under, journaled on the receipt — the envelope version (the
standing approval) or the token’s approved_by — plus the canary
binding, when the promotion is a canary.
Fields§
Who authorized the promotion.
canary: Option<CanaryBinding>The canary binding, when the envelope declared a canary.
Trait Implementations§
Source§impl Clone for PromotionDecision
impl Clone for PromotionDecision
Source§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
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