pub enum ProjectStatus {
Planned,
Active,
OnHold,
Completed,
Cancelled,
Closing,
}Expand description
Status of a project.
Variants§
Planned
Project is planned but not started
Active
Project is active
OnHold
Project is on hold
Completed
Project is complete
Cancelled
Project was cancelled
Closing
Project is in closing phase
Implementations§
Source§impl ProjectStatus
impl ProjectStatus
Sourcepub fn allows_postings(&self) -> bool
pub fn allows_postings(&self) -> bool
Check if project can receive postings.
Trait Implementations§
Source§impl Clone for ProjectStatus
impl Clone for ProjectStatus
Source§fn clone(&self) -> ProjectStatus
fn clone(&self) -> ProjectStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectStatus
impl Debug for ProjectStatus
Source§impl Default for ProjectStatus
impl Default for ProjectStatus
Source§fn default() -> ProjectStatus
fn default() -> ProjectStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectStatus
impl<'de> Deserialize<'de> for ProjectStatus
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 Hash for ProjectStatus
impl Hash for ProjectStatus
Source§impl PartialEq for ProjectStatus
impl PartialEq for ProjectStatus
Source§impl Serialize for ProjectStatus
impl Serialize for ProjectStatus
impl Copy for ProjectStatus
impl Eq for ProjectStatus
impl StructuralPartialEq for ProjectStatus
Auto Trait Implementations§
impl Freeze for ProjectStatus
impl RefUnwindSafe for ProjectStatus
impl Send for ProjectStatus
impl Sync for ProjectStatus
impl Unpin for ProjectStatus
impl UnwindSafe for ProjectStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.