pub struct HostProjectStatus {
pub ahead_behind: Option<(u32, u32)>,
pub branch: Option<String>,
pub project_name: String,
pub sync: Option<HostProjectSync>,
}Expand description
One of the host’s projects, the active one unless a request named another, as a session list shows it.
Fields§
§ahead_behind: Option<(u32, u32)>Commits the branch is ahead of and behind its upstream, in that
order, as of the host’s latest fetch; None when the host has not
compared them.
branch: Option<String>Branch the project’s checkout is on, which new sessions start from;
None when it has none, such as a detached HEAD.
project_name: StringDisplay name of the project.
sync: Option<HostProjectSync>Latest explicit sync of this project, while the host still shows it.
Trait Implementations§
Source§impl Clone for HostProjectStatus
impl Clone for HostProjectStatus
Source§impl Debug for HostProjectStatus
impl Debug for HostProjectStatus
impl Eq for HostProjectStatus
Source§impl PartialEq for HostProjectStatus
impl PartialEq for HostProjectStatus
impl StructuralPartialEq for HostProjectStatus
Auto Trait Implementations§
impl Forget for HostProjectStatus
impl Freeze for HostProjectStatus
impl Move for HostProjectStatus
impl RefUnwindSafe for HostProjectStatus
impl Send for HostProjectStatus
impl Sync for HostProjectStatus
impl Unpin for HostProjectStatus
impl UnsafeUnpin for HostProjectStatus
impl UnwindSafe for HostProjectStatus
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.