pub struct GitUpstreamState {
pub flags: u8,
pub ahead: u32,
pub behind: u32,
pub upstream: String,
}Expand description
Upstream tracking for one local branch, keyed by branch ref name in
GitStateMirror::upstreams.
Fields§
§flags: u8§ahead: u32§behind: u32§upstream: StringTrait Implementations§
Source§impl Clone for GitUpstreamState
impl Clone for GitUpstreamState
Source§fn clone(&self) -> GitUpstreamState
fn clone(&self) -> GitUpstreamState
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 GitUpstreamState
impl Debug for GitUpstreamState
Source§impl Default for GitUpstreamState
impl Default for GitUpstreamState
Source§fn default() -> GitUpstreamState
fn default() -> GitUpstreamState
Returns the “default value” for a type. Read more
impl Eq for GitUpstreamState
Source§impl PartialEq for GitUpstreamState
impl PartialEq for GitUpstreamState
impl StructuralPartialEq for GitUpstreamState
Auto Trait Implementations§
impl Freeze for GitUpstreamState
impl RefUnwindSafe for GitUpstreamState
impl Send for GitUpstreamState
impl Sync for GitUpstreamState
impl Unpin for GitUpstreamState
impl UnsafeUnpin for GitUpstreamState
impl UnwindSafe for GitUpstreamState
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