pub struct PlanLint {
pub code: &'static str,
pub tasks: Vec<String>,
pub detail: String,
pub fix: Vec<String>,
pub acceptance_at: Option<(String, String)>,
}Expand description
One warning.
Fields§
§code: &'static strIts code.
tasks: Vec<String>The tasks it names.
detail: StringWhat it found and what will happen.
fix: Vec<String>The ways out (commands or → lines).
acceptance_at: Option<(String, String)>For PLAN-BEHAVIOUR-EARLY: the task and the story the acceptance
could be written at.
Trait Implementations§
impl Eq for PlanLint
impl StructuralPartialEq for PlanLint
Auto Trait Implementations§
impl Freeze for PlanLint
impl RefUnwindSafe for PlanLint
impl Send for PlanLint
impl Sync for PlanLint
impl Unpin for PlanLint
impl UnsafeUnpin for PlanLint
impl UnwindSafe for PlanLint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.