#[non_exhaustive]pub enum RecordKind {
Experiment,
Amendment,
Other,
}Expand description
What a journal line is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Experiment
A run that happened.
Amendment
A later correction or addition to an earlier record, named by
amends. The journal stays strictly append-only: nothing is
ever rewritten, conclusions are layered on.
Other
Written by a newer soma with a kind this version does not know.
Trait Implementations§
Source§impl Clone for RecordKind
impl Clone for RecordKind
Source§fn clone(&self) -> RecordKind
fn clone(&self) -> RecordKind
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 moreSource§impl Debug for RecordKind
impl Debug for RecordKind
Source§impl Default for RecordKind
impl Default for RecordKind
Source§fn default() -> RecordKind
fn default() -> RecordKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecordKind
impl<'de> Deserialize<'de> for RecordKind
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecordKind
impl PartialEq for RecordKind
Source§fn eq(&self, other: &RecordKind) -> bool
fn eq(&self, other: &RecordKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecordKind
impl Serialize for RecordKind
impl Copy for RecordKind
impl Eq for RecordKind
impl StructuralPartialEq for RecordKind
Auto Trait Implementations§
impl Freeze for RecordKind
impl RefUnwindSafe for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Unpin for RecordKind
impl UnsafeUnpin for RecordKind
impl UnwindSafe for RecordKind
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