pub struct RepoRow {
pub repo_id: String,
pub slug: String,
pub root_path: Option<String>,
}Expand description
A repo as the workspace lists it.
Fields§
§repo_id: String§slug: String§root_path: Option<String>The config.root of the first fs source attached to the repo;
None for a sourceless repo (§1: its sync and watch are no-ops).
Implementations§
Trait Implementations§
impl Eq for RepoRow
impl StructuralPartialEq for RepoRow
Auto Trait Implementations§
impl Freeze for RepoRow
impl RefUnwindSafe for RepoRow
impl Send for RepoRow
impl Sync for RepoRow
impl Unpin for RepoRow
impl UnsafeUnpin for RepoRow
impl UnwindSafe for RepoRow
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.