pub enum PromotionAuthority {
Envelope {
envelope_version: String,
},
Approval {
approved_by: String,
},
}Expand description
The authority a promotion cleared under. Closed enum — the journaled attribution.
Variants§
Envelope
The envelope’s auto path cleared: the envelope itself is the standing approval, and the journaled version is the declaration that was in force.
Approval
A human approved out-of-envelope: the token’s approved_by is the
attribution.
Trait Implementations§
Source§impl Clone for PromotionAuthority
impl Clone for PromotionAuthority
Source§impl Debug for PromotionAuthority
impl Debug for PromotionAuthority
Source§impl<'de> Deserialize<'de> for PromotionAuthority
impl<'de> Deserialize<'de> for PromotionAuthority
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 PromotionAuthority
Source§impl PartialEq for PromotionAuthority
impl PartialEq for PromotionAuthority
Source§impl Serialize for PromotionAuthority
impl Serialize for PromotionAuthority
impl StructuralPartialEq for PromotionAuthority
Auto Trait Implementations§
impl Freeze for PromotionAuthority
impl RefUnwindSafe for PromotionAuthority
impl Send for PromotionAuthority
impl Sync for PromotionAuthority
impl Unpin for PromotionAuthority
impl UnsafeUnpin for PromotionAuthority
impl UnwindSafe for PromotionAuthority
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