pub struct NoEntry {
pub key: String,
pub reason: String,
}Expand description
The error that is reported when a cited key has no citation entry
(flm.citations.no-entry).
The field reason states why the citation key has no citation entry
(MissingEntry). For instance, no citation provider
handles the citation key, or the citation provider failed to retrieve the
citation entry.
Reported by the check stage (CHECK), at the first citation
of the citation key. The citation key keeps its number, and its citations
are written as usual. A dropped mark (flm.pres.dropped) is written in
place of the citation entry: in the list of cited works, or, under the
in-place placement
(CitationPlacement::InPlace), in the
citation marks.
Fields§
§key: StringThe citation key.
reason: StringThe reason why the citation key has no citation entry, as returned by
MissingEntry::reason. For instance,
no appropriate citation provider found.
Implementations§
Trait Implementations§
Source§impl DiagnosticInfo for NoEntry
impl DiagnosticInfo for NoEntry
Source§const IDENTIFIER: &'static str = "flm.citations.no-entry"
const IDENTIFIER: &'static str = "flm.citations.no-entry"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
impl Eq for NoEntry
impl StructuralPartialEq for NoEntry
Auto Trait Implementations§
impl Forget for NoEntry
impl Freeze for NoEntry
impl Move for NoEntry
impl RefUnwindSafe for NoEntry
impl Send for NoEntry
impl Sync for NoEntry
impl Unpin for NoEntry
impl UnsafeUnpin for NoEntry
impl UnwindSafe for NoEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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