pub struct Supersession {
pub repo: String,
pub branch: String,
pub superseded_by: String,
pub landing: String,
pub labels: BTreeMap<String, String>,
}Expand description
A record that a branch was superseded by a retry that landed.
Fields§
§repo: StringThe repository the branch belongs to, spelled as every repository-taking operation takes one.
branch: StringThe branch that was superseded.
superseded_by: StringThe branch that superseded it.
landing: StringWhere that branch landed: a commit, or a change request’s URL.
labels: BTreeMap<String, String>What the caller says about the supersession, as --label KEY=VALUE spells it.
Trait Implementations§
Source§impl Clone for Supersession
impl Clone for Supersession
Source§impl Debug for Supersession
impl Debug for Supersession
Source§impl<'de> Deserialize<'de> for Supersession
impl<'de> Deserialize<'de> for Supersession
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 Supersession
Source§impl PartialEq for Supersession
impl PartialEq for Supersession
Source§impl Serialize for Supersession
impl Serialize for Supersession
impl StructuralPartialEq for Supersession
Auto Trait Implementations§
impl Freeze for Supersession
impl RefUnwindSafe for Supersession
impl Send for Supersession
impl Sync for Supersession
impl Unpin for Supersession
impl UnsafeUnpin for Supersession
impl UnwindSafe for Supersession
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.