pub enum CopyScope {
Tasks,
Projects {
tasks: bool,
},
Documents,
}Expand description
What the ids a copy names are, and what travels with them.
One value rather than a kind beside a flag, because three of the four combinations those two would make are real and the fourth — tasks, with the tasks of each also copied — means nothing.
Variants§
Tasks
The ids name tasks, and only those tasks are copied.
Projects
The ids name projects.
Documents
The ids name documents, and only those documents are copied.
Nothing travels with a document: it takes part in no dependency graph, and it holds nothing of its own the way a project holds tasks.
Trait Implementations§
impl Copy for CopyScope
impl Eq for CopyScope
impl StructuralPartialEq for CopyScope
Auto Trait Implementations§
impl Freeze for CopyScope
impl RefUnwindSafe for CopyScope
impl Send for CopyScope
impl Sync for CopyScope
impl Unpin for CopyScope
impl UnsafeUnpin for CopyScope
impl UnwindSafe for CopyScope
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.