pub struct Branch {
pub place: Place,
pub project: String,
pub name: String,
pub workspace: PathBuf,
pub runs: Vec<Chip>,
}Expand description
A live branch and its Runs.
Fields§
§place: Place§project: StringThe project’s name: its repository’s or folder’s.
name: StringThe branch, a detached worktree’s folder name, or empty for a folder outside Git.
workspace: PathBufWhere its Current is scanned and its Artifacts’ tools run: the worktree (or folder) as it is now, at the workspace its newest Run used (or the app was started for) within it.
runs: Vec<Chip>Its Runs, oldest first.
Implementations§
Trait Implementations§
impl Eq for Branch
impl StructuralPartialEq for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnsafeUnpin for Branch
impl UnwindSafe for Branch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.