pub enum SuggestionStatus {
Proposed,
Approved,
Rejected,
}Expand description
Lifecycle of a suggestion.
Default is SuggestionStatus::Proposed — deny-by-default: a proposal is
never applied, only recorded, until an operator explicitly acts on it.
Variants§
Proposed
Recorded, awaiting human review. The deny-by-default state.
Approved
An operator approved the proposal (recorded only — not auto-applied).
Rejected
An operator rejected the proposal.
Implementations§
Trait Implementations§
Source§impl Clone for SuggestionStatus
impl Clone for SuggestionStatus
Source§fn clone(&self) -> SuggestionStatus
fn clone(&self) -> SuggestionStatus
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 SuggestionStatus
Source§impl Debug for SuggestionStatus
impl Debug for SuggestionStatus
Source§impl Default for SuggestionStatus
impl Default for SuggestionStatus
Source§fn default() -> SuggestionStatus
fn default() -> SuggestionStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SuggestionStatus
impl<'de> Deserialize<'de> for SuggestionStatus
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 SuggestionStatus
Source§impl Hash for SuggestionStatus
impl Hash for SuggestionStatus
Source§impl PartialEq for SuggestionStatus
impl PartialEq for SuggestionStatus
Source§impl Serialize for SuggestionStatus
impl Serialize for SuggestionStatus
impl StructuralPartialEq for SuggestionStatus
Auto Trait Implementations§
impl Freeze for SuggestionStatus
impl RefUnwindSafe for SuggestionStatus
impl Send for SuggestionStatus
impl Sync for SuggestionStatus
impl Unpin for SuggestionStatus
impl UnsafeUnpin for SuggestionStatus
impl UnwindSafe for SuggestionStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.