pub enum EditProblemKind {
HistoryNotFirst,
UnknownKey,
DuplicateKey,
RetiredLinksKey,
MissingTitle,
HistoryEntry,
InvalidValue,
Unparsable,
}Expand description
What kind of post-edit problem this is.
Variants§
HistoryNotFirst
A ## History section that is not the first thing in the body.
UnknownKey
A top-level frontmatter key tix does not know.
DuplicateKey
The same frontmatter key declared twice.
RetiredLinksKey
The retired links: key, whose value tix no longer reads.
MissingTitle
The issue has no title, so it has no stable slug or filename.
HistoryEntry
A ## History line that could not be parsed, or that looks like an entry
without being one.
InvalidValue
Any other value tix lint rejects.
Unparsable
The frontmatter does not parse at all (bad YAML, a missing --- fence,
or anything else the parser refused).
Implementations§
Trait Implementations§
Source§impl Clone for EditProblemKind
impl Clone for EditProblemKind
impl Copy for EditProblemKind
Source§impl Debug for EditProblemKind
impl Debug for EditProblemKind
impl Eq for EditProblemKind
Source§impl PartialEq for EditProblemKind
impl PartialEq for EditProblemKind
impl StructuralPartialEq for EditProblemKind
Auto Trait Implementations§
impl Freeze for EditProblemKind
impl RefUnwindSafe for EditProblemKind
impl Send for EditProblemKind
impl Sync for EditProblemKind
impl Unpin for EditProblemKind
impl UnsafeUnpin for EditProblemKind
impl UnwindSafe for EditProblemKind
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
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more