pub enum Complexity {
S,
M,
L,
}Expand description
How much work an issue is. Drives ordering: cheap unblocking work first.
Variants§
Implementations§
Source§impl Complexity
impl Complexity
pub fn as_str(self) -> &'static str
Sourcepub fn parse_lenient(text: &str) -> Option<Self>
pub fn parse_lenient(text: &str) -> Option<Self>
Accept the canonical spelling, any listed alias, and any difference in case, spacing, hyphens, or underscores.
pub fn valid_values() -> String
Trait Implementations§
Source§impl Clone for Complexity
impl Clone for Complexity
Source§fn clone(&self) -> Complexity
fn clone(&self) -> Complexity
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 moreimpl Copy for Complexity
Source§impl Debug for Complexity
impl Debug for Complexity
Source§impl<'de> Deserialize<'de> for Complexity
impl<'de> Deserialize<'de> for Complexity
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Complexity
impl Display for Complexity
impl Eq for Complexity
Source§impl Hash for Complexity
impl Hash for Complexity
Source§impl Ord for Complexity
impl Ord for Complexity
Source§fn cmp(&self, other: &Complexity) -> Ordering
fn cmp(&self, other: &Complexity) -> 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 Complexity
impl PartialEq for Complexity
Source§impl PartialOrd for Complexity
impl PartialOrd for Complexity
Source§impl Serialize for Complexity
impl Serialize for Complexity
impl StructuralPartialEq for Complexity
Auto Trait Implementations§
impl Freeze for Complexity
impl RefUnwindSafe for Complexity
impl Send for Complexity
impl Sync for Complexity
impl Unpin for Complexity
impl UnsafeUnpin for Complexity
impl UnwindSafe for Complexity
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.