pub enum CardProblem {
EmptyMessage,
EmptyRemediation,
EmptyExample,
IdenticalExamples,
}Expand description
Why a card is not usable.
Variants§
EmptyMessage
message is empty or whitespace.
EmptyRemediation
remediation is empty or whitespace.
EmptyExample
An example is empty or whitespace.
IdenticalExamples
The bad and good examples are the same, so the pair demonstrates nothing.
Trait Implementations§
Source§impl Clone for CardProblem
impl Clone for CardProblem
Source§fn clone(&self) -> CardProblem
fn clone(&self) -> CardProblem
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 CardProblem
Source§impl Debug for CardProblem
impl Debug for CardProblem
impl Eq for CardProblem
Source§impl PartialEq for CardProblem
impl PartialEq for CardProblem
impl StructuralPartialEq for CardProblem
Auto Trait Implementations§
impl Freeze for CardProblem
impl RefUnwindSafe for CardProblem
impl Send for CardProblem
impl Sync for CardProblem
impl Unpin for CardProblem
impl UnsafeUnpin for CardProblem
impl UnwindSafe for CardProblem
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