pub enum ProposalCategory {
Routine,
Policy,
Constitutional,
Emergency,
}Expand description
Proposal category (proposal_category_enum).
Variants§
Trait Implementations§
Source§impl Clone for ProposalCategory
impl Clone for ProposalCategory
Source§fn clone(&self) -> ProposalCategory
fn clone(&self) -> ProposalCategory
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 ProposalCategory
Source§impl Debug for ProposalCategory
impl Debug for ProposalCategory
Source§impl<'de> Deserialize<'de> for ProposalCategory
impl<'de> Deserialize<'de> for ProposalCategory
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
Source§impl Display for ProposalCategory
impl Display for ProposalCategory
impl Eq for ProposalCategory
Source§impl FromStr for ProposalCategory
impl FromStr for ProposalCategory
Source§impl PartialEq for ProposalCategory
impl PartialEq for ProposalCategory
Source§impl Serialize for ProposalCategory
impl Serialize for ProposalCategory
impl StructuralPartialEq for ProposalCategory
Auto Trait Implementations§
impl Freeze for ProposalCategory
impl RefUnwindSafe for ProposalCategory
impl Send for ProposalCategory
impl Sync for ProposalCategory
impl Unpin for ProposalCategory
impl UnsafeUnpin for ProposalCategory
impl UnwindSafe for ProposalCategory
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