pub struct Repo {
pub id: i64,
pub project_id: i64,
pub name: String,
pub path: String,
pub is_default: bool,
}Expand description
A checkout a project’s work runs in (DESIGN.md §3): the execution target
dispatch, pr/open, worktree cleanup, and import resolve against. A
project owns at least one, exactly one of which is its default.
Fields§
§id: i64§project_id: i64§name: StringUnique within the project; what --repo and the repo verbs name.
path: String§is_default: boolThe repo a task with no repo_id resolves to. Exactly one per project.
Trait Implementations§
impl Eq for Repo
impl StructuralPartialEq for Repo
Auto Trait Implementations§
impl Freeze for Repo
impl RefUnwindSafe for Repo
impl Send for Repo
impl Sync for Repo
impl Unpin for Repo
impl UnsafeUnpin for Repo
impl UnwindSafe for Repo
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§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.