pub enum AppliesTo {
Pattern(String),
Patterns(Vec<String>),
}Expand description
Declaration of which workspace dirs the manifest applies to for
the find_workspace_manifest parent-walk fallback. See
WorkspaceConfig::applies_to for the full semantics. Each
entry is a glob pattern (literal or with * / ? / [abc])
matched against the workspace dir’s basename.
Variants§
Pattern(String)
Single glob pattern. Matches if the workspace dir’s basename
satisfies the pattern. Literal names (repos) match only
that name; * matches anything; prod-* matches anything
starting with prod-.
Patterns(Vec<String>)
Multiple patterns. Matches if any pattern in the list matches.
Trait Implementations§
impl Eq for AppliesTo
impl StructuralPartialEq for AppliesTo
Auto Trait Implementations§
impl Freeze for AppliesTo
impl RefUnwindSafe for AppliesTo
impl Send for AppliesTo
impl Sync for AppliesTo
impl Unpin for AppliesTo
impl UnsafeUnpin for AppliesTo
impl UnwindSafe for AppliesTo
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.