pub struct PreservedBranch {
pub branch: String,
pub base: String,
pub provenance: Provenance,
pub change_url: Option<Url>,
pub change_base: Option<String>,
}Expand description
A branch that holds work outside its session.
Fields§
§branch: StringThe branch the work is on.
base: StringThe base it was cut from.
provenance: ProvenanceWhy it was preserved.
change_url: Option<Url>The change request it belongs to, when one was opened. Host-neutral: a GitHub pull request and a GitLab merge request both land here.
change_base: Option<String>The base that change request targets, which for a stacked branch is the branch below it rather than the root.
Trait Implementations§
Source§impl Clone for PreservedBranch
impl Clone for PreservedBranch
Source§impl Debug for PreservedBranch
impl Debug for PreservedBranch
Source§impl<'de> Deserialize<'de> for PreservedBranch
impl<'de> Deserialize<'de> for PreservedBranch
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 PreservedBranch
Source§impl PartialEq for PreservedBranch
impl PartialEq for PreservedBranch
Source§impl Serialize for PreservedBranch
impl Serialize for PreservedBranch
impl StructuralPartialEq for PreservedBranch
Auto Trait Implementations§
impl Freeze for PreservedBranch
impl RefUnwindSafe for PreservedBranch
impl Send for PreservedBranch
impl Sync for PreservedBranch
impl Unpin for PreservedBranch
impl UnsafeUnpin for PreservedBranch
impl UnwindSafe for PreservedBranch
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.