pub enum FilterMode {
All,
Include {
agents: Vec<ItemName>,
skills: Vec<ItemName>,
},
Exclude(Vec<ItemName>),
}Expand description
How items are filtered from a source.
Variants§
All
Install everything from the source.
Include
Only install specific agents and/or skills.
Exclude(Vec<ItemName>)
Install everything except these items.
Trait Implementations§
Source§impl Clone for FilterMode
impl Clone for FilterMode
Source§fn clone(&self) -> FilterMode
fn clone(&self) -> FilterMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FilterMode
impl RefUnwindSafe for FilterMode
impl Send for FilterMode
impl Sync for FilterMode
impl Unpin for FilterMode
impl UnsafeUnpin for FilterMode
impl UnwindSafe for FilterMode
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