pub enum CampaignStatus {
Draft,
Scheduled,
Active,
Paused,
Ended,
Archived,
}Expand description
Campaign status label.
Variants§
Draft
Draft campaign.
Scheduled
Scheduled campaign.
Active
Active campaign.
Paused
Paused campaign.
Ended
Ended campaign.
Archived
Archived campaign.
Implementations§
Trait Implementations§
Source§impl Clone for CampaignStatus
impl Clone for CampaignStatus
Source§fn clone(&self) -> CampaignStatus
fn clone(&self) -> CampaignStatus
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 moreSource§impl Debug for CampaignStatus
impl Debug for CampaignStatus
Source§impl Hash for CampaignStatus
impl Hash for CampaignStatus
Source§impl Ord for CampaignStatus
impl Ord for CampaignStatus
Source§fn cmp(&self, other: &CampaignStatus) -> Ordering
fn cmp(&self, other: &CampaignStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CampaignStatus
impl PartialEq for CampaignStatus
Source§fn eq(&self, other: &CampaignStatus) -> bool
fn eq(&self, other: &CampaignStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CampaignStatus
impl PartialOrd for CampaignStatus
impl Copy for CampaignStatus
impl Eq for CampaignStatus
impl StructuralPartialEq for CampaignStatus
Auto Trait Implementations§
impl Freeze for CampaignStatus
impl RefUnwindSafe for CampaignStatus
impl Send for CampaignStatus
impl Sync for CampaignStatus
impl Unpin for CampaignStatus
impl UnsafeUnpin for CampaignStatus
impl UnwindSafe for CampaignStatus
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