pub struct ThreadLog {
pub version: u32,
pub session: String,
pub entries: Vec<SnapshotRef>,
}Fields§
§version: u32Format version of this record — see crate::manifest::Manifest.
session: StringWhose log this is.
In the record because it is no longer in the filename: the file is
named for the hash of the id, so that two ids differing only in case
cannot share one file on a case-insensitive filesystem. Enumerating
sessions therefore means reading the records rather than listing a
directory — see RefStore::thread_ids.
entries: Vec<SnapshotRef>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThreadLog
impl<'de> Deserialize<'de> for ThreadLog
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
impl Eq for ThreadLog
impl StructuralPartialEq for ThreadLog
Auto Trait Implementations§
impl Freeze for ThreadLog
impl RefUnwindSafe for ThreadLog
impl Send for ThreadLog
impl Sync for ThreadLog
impl Unpin for ThreadLog
impl UnsafeUnpin for ThreadLog
impl UnwindSafe for ThreadLog
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,
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
Compare self to
key and return true if they are equal.