pub enum LandingEvidence {
RecordedLanding {
commit: Sha,
},
ChangeRequest {
commit: Sha,
change_url: Url,
},
Trailer {
commit: Sha,
},
Retired {
commit: Sha,
proof: RetirementProof,
},
}Expand description
Which tier decided a landing, and the commit that is its evidence.
Variants§
RecordedLanding
A landing commit recorded for this branch, which the base carries.
ChangeRequest
The change request’s own number, in a commit the base carries — which is what a host writes into the subject of the squash commit it lands.
Fields
Trailer
A landing trailer naming a commit of this branch, in a commit the base carries. What a landing with no change request leaves behind.
Retired
A retirement of this branch, recorded once a proof showed it held nothing beyond its base and it was deleted everywhere this host held it. What decided it is the proof the retirement acted on, which travels with it.
Fields
§
proof: RetirementProofWhat proved the branch held nothing beyond its base.
Implementations§
Trait Implementations§
Source§impl Clone for LandingEvidence
impl Clone for LandingEvidence
Source§impl Debug for LandingEvidence
impl Debug for LandingEvidence
Source§impl<'de> Deserialize<'de> for LandingEvidence
impl<'de> Deserialize<'de> for LandingEvidence
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 LandingEvidence
Source§impl PartialEq for LandingEvidence
impl PartialEq for LandingEvidence
Source§impl Serialize for LandingEvidence
impl Serialize for LandingEvidence
impl StructuralPartialEq for LandingEvidence
Auto Trait Implementations§
impl Freeze for LandingEvidence
impl RefUnwindSafe for LandingEvidence
impl Send for LandingEvidence
impl Sync for LandingEvidence
impl Unpin for LandingEvidence
impl UnsafeUnpin for LandingEvidence
impl UnwindSafe for LandingEvidence
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.