pub enum TaskComplexity {
Simple,
Standard,
Complex,
Critical,
}Expand description
Complexity level of a task — drives pricing within a contract’s range.
Variants§
Simple
Trivial task — minimum price.
Standard
Normal task — midpoint price.
Complex
Involved task — upper-range price.
Critical
Mission-critical or urgent — maximum price.
Trait Implementations§
Source§impl Clone for TaskComplexity
impl Clone for TaskComplexity
Source§fn clone(&self) -> TaskComplexity
fn clone(&self) -> TaskComplexity
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 TaskComplexity
impl Debug for TaskComplexity
Source§impl<'de> Deserialize<'de> for TaskComplexity
impl<'de> Deserialize<'de> for TaskComplexity
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 PartialEq for TaskComplexity
impl PartialEq for TaskComplexity
Source§impl Serialize for TaskComplexity
impl Serialize for TaskComplexity
impl Copy for TaskComplexity
impl Eq for TaskComplexity
impl StructuralPartialEq for TaskComplexity
Auto Trait Implementations§
impl Freeze for TaskComplexity
impl RefUnwindSafe for TaskComplexity
impl Send for TaskComplexity
impl Sync for TaskComplexity
impl Unpin for TaskComplexity
impl UnsafeUnpin for TaskComplexity
impl UnwindSafe for TaskComplexity
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