#[non_exhaustive]pub enum ProjectHealth {
OnTrack,
AtRisk,
OffTrack,
Unrecognized(String),
}Expand description
Project health as reported in project updates.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OnTrack
On track ("onTrack").
AtRisk
At risk ("atRisk").
OffTrack
Off track ("offTrack").
Unrecognized(String)
A wire value this crate does not know about (server-added variants deserialize here instead of failing).
Trait Implementations§
Source§impl Clone for ProjectHealth
impl Clone for ProjectHealth
Source§fn clone(&self) -> ProjectHealth
fn clone(&self) -> ProjectHealth
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 ProjectHealth
impl Debug for ProjectHealth
Source§impl<'de> Deserialize<'de> for ProjectHealth
impl<'de> Deserialize<'de> for ProjectHealth
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 ProjectHealth
Source§impl From<ProjectHealth> for String
impl From<ProjectHealth> for String
Source§fn from(v: ProjectHealth) -> String
fn from(v: ProjectHealth) -> String
Converts to this type from the input type.
Source§impl From<String> for ProjectHealth
impl From<String> for ProjectHealth
Source§impl PartialEq for ProjectHealth
impl PartialEq for ProjectHealth
Source§fn eq(&self, other: &ProjectHealth) -> bool
fn eq(&self, other: &ProjectHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProjectHealth
impl Serialize for ProjectHealth
impl StructuralPartialEq for ProjectHealth
Auto Trait Implementations§
impl Freeze for ProjectHealth
impl RefUnwindSafe for ProjectHealth
impl Send for ProjectHealth
impl Sync for ProjectHealth
impl Unpin for ProjectHealth
impl UnsafeUnpin for ProjectHealth
impl UnwindSafe for ProjectHealth
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