#[repr(u8)]pub enum EntryState {
Uninitialized = 0,
Pending = 1,
Approved = 2,
}Expand description
Lifecycle state of a whitelist entry: a request is created Pending and
promoted to Approved by the authority (the deploy gate checks Approved).
Variants§
Uninitialized = 0
Entry does not exist yet
Pending = 1
A whitelist request awaiting authority approval (not yet active)
Approved = 2
The entry has been approved — active on the whitelist
Trait Implementations§
Source§impl Clone for EntryState
impl Clone for EntryState
Source§fn clone(&self) -> EntryState
fn clone(&self) -> EntryState
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 EntryState
Source§impl Debug for EntryState
impl Debug for EntryState
Source§impl PartialEq for EntryState
impl PartialEq for EntryState
impl StructuralPartialEq for EntryState
Auto Trait Implementations§
impl Freeze for EntryState
impl RefUnwindSafe for EntryState
impl Send for EntryState
impl Sync for EntryState
impl Unpin for EntryState
impl UnsafeUnpin for EntryState
impl UnwindSafe for EntryState
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