pub struct BranchStatusOutput {
pub branch: String,
pub base: String,
pub ahead: u32,
pub behind: u32,
pub up_to_date: bool,
pub common_ancestor: Option<String>,
}Fields§
§branch: String§base: String§ahead: u32§behind: u32§up_to_date: bool§common_ancestor: Option<String>Merge-base sha (full 40-char hex), None when no common ancestor.
Trait Implementations§
Source§impl Clone for BranchStatusOutput
impl Clone for BranchStatusOutput
Source§fn clone(&self) -> BranchStatusOutput
fn clone(&self) -> BranchStatusOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BranchStatusOutput
impl Debug for BranchStatusOutput
Source§impl<'de> Deserialize<'de> for BranchStatusOutput
impl<'de> Deserialize<'de> for BranchStatusOutput
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 BranchStatusOutput
Source§impl PartialEq for BranchStatusOutput
impl PartialEq for BranchStatusOutput
Source§fn eq(&self, other: &BranchStatusOutput) -> bool
fn eq(&self, other: &BranchStatusOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BranchStatusOutput
impl Serialize for BranchStatusOutput
impl StructuralPartialEq for BranchStatusOutput
Auto Trait Implementations§
impl Freeze for BranchStatusOutput
impl RefUnwindSafe for BranchStatusOutput
impl Send for BranchStatusOutput
impl Sync for BranchStatusOutput
impl Unpin for BranchStatusOutput
impl UnsafeUnpin for BranchStatusOutput
impl UnwindSafe for BranchStatusOutput
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,
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§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.