pub struct RemoteStatus {
pub name: String,
pub reachable: Option<bool>,
pub pushed_head: Option<CommitId>,
pub pushed_at: Option<String>,
pub pulled_at: Option<String>,
pub ahead: Option<usize>,
pub behind: Option<usize>,
pub last_error: Option<RecordedError>,
}Expand description
A remote as Settings and History show it.
Fields§
§name: String§reachable: Option<bool>Folder remotes: whether the folder is there now. Git remotes are not
contacted (None).
pushed_head: Option<CommitId>What this machine pushed last, as far as is known.
pushed_at: Option<String>§pulled_at: Option<String>§ahead: Option<usize>Commits of HEAD the remote does not have; None when unknown (never
pushed, or the pushed head is not in this store’s history).
behind: Option<usize>Commits the remote has that HEAD lacks: other machines’ heads in a
folder remote, the last fetch of a git remote. None when unknown.
last_error: Option<RecordedError>Trait Implementations§
Source§impl Clone for RemoteStatus
impl Clone for RemoteStatus
Source§impl Debug for RemoteStatus
impl Debug for RemoteStatus
impl Eq for RemoteStatus
Source§impl PartialEq for RemoteStatus
impl PartialEq for RemoteStatus
impl StructuralPartialEq for RemoteStatus
Auto Trait Implementations§
impl Forget for RemoteStatus
impl Freeze for RemoteStatus
impl Move for RemoteStatus
impl RefUnwindSafe for RemoteStatus
impl Send for RemoteStatuswhere
RawVecInner: Send,
impl Sync for RemoteStatuswhere
RawVecInner: Sync,
impl Unpin for RemoteStatus
impl UnsafeUnpin for RemoteStatus
impl UnwindSafe for RemoteStatuswhere
RawVecInner: UnwindSafe,
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,
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.