pub struct Targets {
pub repositories: BTreeMap<String, BTreeSet<String>>,
pub boards: BTreeSet<BoardRef>,
pub problems: Vec<String>,
}Expand description
Everything to mirror, and what could not be read while finding it out.
Fields§
§repositories: BTreeMap<String, BTreeSet<String>>owner/repo, and every commit some worktree has it checked out at.
boards: BTreeSet<BoardRef>Every board some project references.
problems: Vec<String>What could not be read, by where it was: project/worktree: why.
While there are any, what the mirror holds is never forgotten: a worktree that could not be read this minute is not a worktree that stopped having repositories, and treating it as one would delete what it holds on every transient failure.
Implementations§
Trait Implementations§
impl Eq for Targets
impl StructuralPartialEq for Targets
Auto Trait Implementations§
impl Freeze for Targets
impl RefUnwindSafe for Targets
impl Send for Targets
impl Sync for Targets
impl Unpin for Targets
impl UnsafeUnpin for Targets
impl UnwindSafe for Targets
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§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.