pub enum CampaignState {
Unspecified,
Active,
Completed,
Expired,
Unrecognized,
}Expand description
The state of a campaign or objective.
Variants§
Unspecified
The state is not specified.
Active
In progress.
Completed
Completed.
Expired
Expired.
Unrecognized
A state this version of the crate does not know about.
Trait Implementations§
Source§impl Clone for CampaignState
impl Clone for CampaignState
impl Copy for CampaignState
Source§impl Debug for CampaignState
impl Debug for CampaignState
Source§impl<'de> Deserialize<'de> for CampaignState
impl<'de> Deserialize<'de> for CampaignState
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 CampaignState
Source§impl PartialEq for CampaignState
impl PartialEq for CampaignState
impl StructuralPartialEq for CampaignState
Auto Trait Implementations§
impl Freeze for CampaignState
impl RefUnwindSafe for CampaignState
impl Send for CampaignState
impl Sync for CampaignState
impl Unpin for CampaignState
impl UnsafeUnpin for CampaignState
impl UnwindSafe for CampaignState
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.