pub enum RatificationState {
Unratified,
Ratified,
}Expand description
Whether a proposal has been reviewed and accepted by a human.
There is deliberately no constructor for Self::Ratified in this module:
ratification happens where a human actually clicks, and that is not here.
Variants§
Unratified
A suggestion. Not a Fleet, not saved, not runnable.
Ratified
Reviewed and accepted by a human, elsewhere.
Implementations§
Trait Implementations§
Source§impl Clone for RatificationState
impl Clone for RatificationState
Source§fn clone(&self) -> RatificationState
fn clone(&self) -> RatificationState
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 RatificationState
Source§impl Debug for RatificationState
impl Debug for RatificationState
Source§impl<'de> Deserialize<'de> for RatificationState
impl<'de> Deserialize<'de> for RatificationState
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 RatificationState
Source§impl PartialEq for RatificationState
impl PartialEq for RatificationState
Source§impl Serialize for RatificationState
impl Serialize for RatificationState
impl StructuralPartialEq for RatificationState
Auto Trait Implementations§
impl Freeze for RatificationState
impl RefUnwindSafe for RatificationState
impl Send for RatificationState
impl Sync for RatificationState
impl Unpin for RatificationState
impl UnsafeUnpin for RatificationState
impl UnwindSafe for RatificationState
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