pub enum PriorContext {
Hidden,
Visible,
}Expand description
Whether a ceremony stage sees contributions from earlier stages.
Variants§
Implementations§
Source§impl PriorContext
impl PriorContext
pub const fn from_visible(visible: bool) -> Self
pub const fn is_visible(self) -> bool
Trait Implementations§
Source§impl Clone for PriorContext
impl Clone for PriorContext
Source§fn clone(&self) -> PriorContext
fn clone(&self) -> PriorContext
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 moreimpl Copy for PriorContext
Source§impl Debug for PriorContext
impl Debug for PriorContext
Source§impl<'de> Deserialize<'de> for PriorContext
impl<'de> Deserialize<'de> for PriorContext
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 PriorContext
Source§impl PartialEq for PriorContext
impl PartialEq for PriorContext
Source§impl Serialize for PriorContext
impl Serialize for PriorContext
impl StructuralPartialEq for PriorContext
Auto Trait Implementations§
impl Freeze for PriorContext
impl RefUnwindSafe for PriorContext
impl Send for PriorContext
impl Sync for PriorContext
impl Unpin for PriorContext
impl UnsafeUnpin for PriorContext
impl UnwindSafe for PriorContext
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