pub enum ProjectState {
Open,
Closed,
}
Expand description
State of the project; either ‘open’ or ‘closed’
JSON schema
{
"description": "State of the project; either 'open' or 'closed'",
"type": "string",
"enum": [
"open",
"closed"
]
}
Variants§
Trait Implementations§
Source§impl Clone for ProjectState
impl Clone for ProjectState
Source§fn clone(&self) -> ProjectState
fn clone(&self) -> ProjectState
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 ProjectState
impl Debug for ProjectState
Source§impl<'de> Deserialize<'de> for ProjectState
impl<'de> Deserialize<'de> for ProjectState
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 From<&ProjectState> for ProjectState
impl From<&ProjectState> for ProjectState
Source§fn from(value: &ProjectState) -> Self
fn from(value: &ProjectState) -> Self
Converts to this type from the input type.
Source§impl FromStr for ProjectState
impl FromStr for ProjectState
Source§impl Hash for ProjectState
impl Hash for ProjectState
Source§impl Ord for ProjectState
impl Ord for ProjectState
Source§fn cmp(&self, other: &ProjectState) -> Ordering
fn cmp(&self, other: &ProjectState) -> Ordering
1.21.0 · 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 ProjectState
impl PartialEq for ProjectState
Source§impl PartialOrd for ProjectState
impl PartialOrd for ProjectState
Source§impl Serialize for ProjectState
impl Serialize for ProjectState
Source§impl ToString for ProjectState
impl ToString for ProjectState
Source§impl TryFrom<&String> for ProjectState
impl TryFrom<&String> for ProjectState
Source§impl TryFrom<&str> for ProjectState
impl TryFrom<&str> for ProjectState
Source§impl TryFrom<String> for ProjectState
impl TryFrom<String> for ProjectState
impl Copy for ProjectState
impl Eq for ProjectState
impl StructuralPartialEq for ProjectState
Auto Trait Implementations§
impl Freeze for ProjectState
impl RefUnwindSafe for ProjectState
impl Send for ProjectState
impl Sync for ProjectState
impl Unpin for ProjectState
impl UnwindSafe for ProjectState
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