pub struct ProjectInfo {
pub name: String,
pub description: String,
pub repo: String,
pub notes: String,
pub siblings: Vec<(String, PathBuf)>,
}Expand description
A repository’s view of its project: the shared card, and its own notes.
Fields§
§name: StringThe project’s name.
description: StringThe application’s horizontal context (markdown), shared by its repositories.
repo: StringThe repository’s name.
notes: StringThis repository’s role among the project’s (markdown); empty with a single repository.
siblings: Vec<(String, PathBuf)>The project’s other repositories, as (name, .brain folder).
Trait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§impl Debug for ProjectInfo
impl Debug for ProjectInfo
impl Eq for ProjectInfo
Source§impl PartialEq for ProjectInfo
impl PartialEq for ProjectInfo
impl StructuralPartialEq for ProjectInfo
Auto Trait Implementations§
impl Freeze for ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnsafeUnpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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.