pub struct CommitRecord {
pub tick: i64,
pub time: f64,
pub kind: String,
pub author: Option<String>,
pub message: Option<String>,
pub added: Option<u64>,
pub removed: Option<u64>,
}Expand description
One entry of the history: a commit, or a level change.
Fields§
§tick: i64§time: f64Seconds since the epoch.
kind: Stringwrite, genesis, freeze, resume, dropped, level or purge.
message: Option<String>§added: Option<u64>Quads added and removed (known while a change log exists).
removed: Option<u64>Trait Implementations§
Source§impl Clone for CommitRecord
impl Clone for CommitRecord
Source§fn clone(&self) -> CommitRecord
fn clone(&self) -> CommitRecord
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 CommitRecord
impl Debug for CommitRecord
Source§impl PartialEq for CommitRecord
impl PartialEq for CommitRecord
impl StructuralPartialEq for CommitRecord
Auto Trait Implementations§
impl Freeze for CommitRecord
impl RefUnwindSafe for CommitRecord
impl Send for CommitRecord
impl Sync for CommitRecord
impl Unpin for CommitRecord
impl UnsafeUnpin for CommitRecord
impl UnwindSafe for CommitRecord
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