pub struct CommitStateFile {
pub phase: CommitPhase,
pub epoch_before: GitOid,
pub epoch_candidate: GitOid,
pub epoch_ref_updated: bool,
pub branch_ref_updated: bool,
pub updated_at_unix_ms: u128,
}Expand description
Persisted merge-state for COMMIT phase recovery.
Fields§
§phase: CommitPhase§epoch_before: GitOid§epoch_candidate: GitOid§epoch_ref_updated: bool§branch_ref_updated: bool§updated_at_unix_ms: u128Trait Implementations§
Source§impl Clone for CommitStateFile
impl Clone for CommitStateFile
Source§fn clone(&self) -> CommitStateFile
fn clone(&self) -> CommitStateFile
Returns a duplicate of the value. Read more
1.0.0 · 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 CommitStateFile
impl Debug for CommitStateFile
Source§impl<'de> Deserialize<'de> for CommitStateFile
impl<'de> Deserialize<'de> for CommitStateFile
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 CommitStateFile
impl PartialEq for CommitStateFile
Source§impl Serialize for CommitStateFile
impl Serialize for CommitStateFile
impl Eq for CommitStateFile
impl StructuralPartialEq for CommitStateFile
Auto Trait Implementations§
impl Freeze for CommitStateFile
impl RefUnwindSafe for CommitStateFile
impl Send for CommitStateFile
impl Sync for CommitStateFile
impl Unpin for CommitStateFile
impl UnsafeUnpin for CommitStateFile
impl UnwindSafe for CommitStateFile
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.