pub struct RemoteStatusInfo {
pub name: String,
pub ahead_behind: Option<(usize, usize)>,
}Expand description
Tracking state against origin/<branch>.
Fields§
§name: StringRemote repo name derived from the URL (without .git).
ahead_behind: Option<(usize, usize)>(ahead, behind) vs the upstream branch, when it exists.
Trait Implementations§
Source§impl Clone for RemoteStatusInfo
impl Clone for RemoteStatusInfo
Source§fn clone(&self) -> RemoteStatusInfo
fn clone(&self) -> RemoteStatusInfo
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 RemoteStatusInfo
impl Debug for RemoteStatusInfo
Auto Trait Implementations§
impl Freeze for RemoteStatusInfo
impl RefUnwindSafe for RemoteStatusInfo
impl Send for RemoteStatusInfo
impl Sync for RemoteStatusInfo
impl Unpin for RemoteStatusInfo
impl UnsafeUnpin for RemoteStatusInfo
impl UnwindSafe for RemoteStatusInfo
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