pub struct RepoCard {
pub project: String,
pub repo: Option<String>,
pub notes: String,
}Expand description
What a repository’s .brain/project.md says about it, travelling with its code (and its git):
# shop
- repo: web
The store: UI only.Fields§
§project: StringThe project it belongs to: the # title.
repo: Option<String>Its name in the project, when it isn’t its folder’s: the - repo: line right under the title. In the
card rather than the central registry, so links to it (web#3) read the same on every machine.
notes: StringIts role among the project’s repositories (markdown).
Trait Implementations§
impl Eq for RepoCard
impl StructuralPartialEq for RepoCard
Auto Trait Implementations§
impl Freeze for RepoCard
impl RefUnwindSafe for RepoCard
impl Send for RepoCard
impl Sync for RepoCard
impl Unpin for RepoCard
impl UnsafeUnpin for RepoCard
impl UnwindSafe for RepoCard
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.