pub enum ProjectMatch {
Exact(BTreeSet<String>),
Prefix(String),
}Expand description
Which projects a caller manages.
Prefer Exact when the caller knows its project names: a
Prefix is only unambiguous when the prefix ends in a separator that the
rest of a name can’t contain. Workspace projects are <workspace>-<env> and both parts may
contain dashes, so demo- also matches the projects of a workspace called demo-x.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProjectMatch
impl Clone for ProjectMatch
Source§impl Debug for ProjectMatch
impl Debug for ProjectMatch
impl Eq for ProjectMatch
Source§impl PartialEq for ProjectMatch
impl PartialEq for ProjectMatch
impl StructuralPartialEq for ProjectMatch
Auto Trait Implementations§
impl Freeze for ProjectMatch
impl RefUnwindSafe for ProjectMatch
impl Send for ProjectMatch
impl Sync for ProjectMatch
impl Unpin for ProjectMatch
impl UnsafeUnpin for ProjectMatch
impl UnwindSafe for ProjectMatch
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.