pub enum Stability {
FixedOrArchived,
UnarchivedAndChanging {
retrieved: AccessDate,
},
}Expand description
Whether a work holds still.
This is the condition APA attaches a retrieval date to, and the date is
carried inside the variant that requires it. The two failure modes a
separate retrieved field would allow — a changeable work with no retrieval
date, and a stable work carrying one that gets emitted anyway — are then not
mistakes to catch but sentences that cannot be written.
Deliberately not #[non_exhaustive]: APA’s condition is a yes-or-no
question about one work, so the set has exactly two answers.
Variants§
FixedOrArchived
The work is fixed, or an archived or versioned copy of what was read still exists. No retrieval date; this is the ordinary case, and APA is explicit that most references carry none.
UnarchivedAndChanging
The work is designed to change over time and is not archived, so the only honest way to cite it is to say when it was read.
Fields
retrieved: AccessDateWhen it was read.
Trait Implementations§
impl Copy for Stability
Source§impl<'de> Deserialize<'de> for Stability
impl<'de> Deserialize<'de> for Stability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Stability
Source§impl Ord for Stability
impl Ord for Stability
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Stability
impl PartialOrd for Stability
impl StructuralPartialEq for Stability
Auto Trait Implementations§
impl Freeze for Stability
impl RefUnwindSafe for Stability
impl Send for Stability
impl Sync for Stability
impl Unpin for Stability
impl UnsafeUnpin for Stability
impl UnwindSafe for Stability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.