pub struct Revision {
pub index: u64,
pub rollback: Option<u64>,
pub head: String,
pub lines: Vec<Line>,
pub date: DateTime<Utc>,
pub spec: Spec,
pub stored_bytes: u64,
}Fields§
§index: u641, 2, 3 … within the repository. This is what rollback takes.
rollback: Option<u64>Set when this revision rolled the repository back to an earlier one.
head: StringGit commit sha of /repository, ‘’ when the machine never answered.
lines: Vec<Line>§date: DateTime<Utc>§spec: SpecWhat the machine that saved it was granted. A rollback keeps its target’s.
stored_bytes: u64Everything the repository stores as of this revision: its layers and its latest memory.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl Forget for Revision
impl Freeze for Revision
impl Move for Revision
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnsafeUnpin for Revision
impl UnwindSafe for Revision
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