pub struct MissingProjectReference {
pub issue: IssueKey,
pub issue_display: String,
pub project_id: String,
pub reason: String,
}Expand description
A stored association whose project is not in the registry (data-model §3).
The reference is reported, never dropped: the issue keeps its id so the
reference can be repaired (C-005). Ordered deterministically by
(issue number, project id).
Fields§
§issue: IssueKeyThe issue holding the reference.
issue_display: StringThe issue’s derived display label, so lint can name it without a lookup.
project_id: StringThe id exactly as stored, retained for repair. May not even be a valid
ProjectId shape, which is itself a reason it does not resolve.
reason: StringHuman-readable text, produced by missing_reference_reason.
Trait Implementations§
Source§impl Clone for MissingProjectReference
impl Clone for MissingProjectReference
Source§impl Debug for MissingProjectReference
impl Debug for MissingProjectReference
impl Eq for MissingProjectReference
Source§impl PartialEq for MissingProjectReference
impl PartialEq for MissingProjectReference
impl StructuralPartialEq for MissingProjectReference
Auto Trait Implementations§
impl Freeze for MissingProjectReference
impl RefUnwindSafe for MissingProjectReference
impl Send for MissingProjectReference
impl Sync for MissingProjectReference
impl Unpin for MissingProjectReference
impl UnsafeUnpin for MissingProjectReference
impl UnwindSafe for MissingProjectReference
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