pub enum RetirementProof {
MergedChangeRequest {
change_url: Url,
head: Sha,
},
RecordedLanding {
commit: Sha,
},
ContentIdentical {
base_commit: Sha,
},
}Expand description
What proves a branch holds no work beyond its base.
Variants§
MergedChangeRequest
A change request opened from the branch merged, at a head that contains the branch’s content.
RecordedLanding
A landing is recorded for the branch at this commit of it, and nothing after it changes content.
ContentIdentical
Every path the branch changed reads on the base exactly as on the branch.
Implementations§
Trait Implementations§
Source§impl Clone for RetirementProof
impl Clone for RetirementProof
Source§impl Debug for RetirementProof
impl Debug for RetirementProof
Source§impl<'de> Deserialize<'de> for RetirementProof
impl<'de> Deserialize<'de> for RetirementProof
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 RetirementProof
Source§impl PartialEq for RetirementProof
impl PartialEq for RetirementProof
Source§impl Serialize for RetirementProof
impl Serialize for RetirementProof
impl StructuralPartialEq for RetirementProof
Auto Trait Implementations§
impl Freeze for RetirementProof
impl RefUnwindSafe for RetirementProof
impl Send for RetirementProof
impl Sync for RetirementProof
impl Unpin for RetirementProof
impl UnsafeUnpin for RetirementProof
impl UnwindSafe for RetirementProof
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.