pub fn new_with_deadline(
        description: impl Into<String>,
        kind: TaskKind,
        score: i32,
        difficulty: u32,
    ) -> Self {
        Self {
            description: description.into(),
            kind,
            score,
            difficulty,
            max_time: Some(crate::state::TICKS_PER_MONTH),
        }
    }
/// Create a new task builder with a 1 month deadline
Create a new task builder with a 1 month deadline
Create a new task builder with a 1 month deadline
pub fn new_with_deadline(
        description: impl Into<String>,
        kind: TaskKind,
        score: i32,
        difficulty: u32,
    ) -> Self {
        Self {
            description: description.into(),
            kind,
            score,
            difficulty,
            max_time: Some(crate::state::TICKS_PER_MONTH),
        }
    }
pub fn new_with_deadline ( description : impl Into < String > , kind : TaskKind , score : i32 , difficulty : u32 , ) -> Self { Self { description : description . into ( ) , kind , score , difficulty , max_time : Some ( crate :: state :: TICKS_PER_MONTH ) , } }
Create a new task builder with a 1 month deadline
Create a new task builder with a 1 month deadline
description
impl Into<String>
kind
TaskKind
score
i32
difficulty
u32
description
impl Into<String>
kind
TaskKind
score
i32
difficulty
u32