pub struct Score { /* private fields */ }Expand description
A question that rates the state against ordered levels, worst or least
first. The answer is a ScoreAnswer.
Each level should describe a concrete situation on its own:
use typesafe::Score;
let urgency = Score::new(
"How urgently does this ticket need a response?",
[
"Can wait: a question or feedback, nothing is blocked",
"Soon: a problem with a workaround",
"Today: something important is broken for the customer",
],
);Implementations§
Trait Implementations§
impl StructuralPartialEq for Score
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnsafeUnpin for Score
impl UnwindSafe for Score
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