pub struct JournalRecord {
pub supercode_journal: u8,
pub ts: String,
pub op: JournalOp,
}Expand description
One journal line: the discriminant, a timestamp, and the operation.
Fields§
§supercode_journal: u8Always JOURNAL_RECORD_VERSION.
ts: StringRFC3339 (UTC) time the record was appended.
op: JournalOpThe operation itself.
Trait Implementations§
Source§impl Clone for JournalRecord
impl Clone for JournalRecord
Source§fn clone(&self) -> JournalRecord
fn clone(&self) -> JournalRecord
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 JournalRecord
impl Debug for JournalRecord
Source§impl<'de> Deserialize<'de> for JournalRecord
impl<'de> Deserialize<'de> for JournalRecord
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
Auto Trait Implementations§
impl Freeze for JournalRecord
impl RefUnwindSafe for JournalRecord
impl Send for JournalRecord
impl Sync for JournalRecord
impl Unpin for JournalRecord
impl UnsafeUnpin for JournalRecord
impl UnwindSafe for JournalRecord
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