pub enum FilterMode {
All,
Include {
agents: Vec<ItemName>,
skills: Vec<ItemName>,
},
Exclude(Vec<ItemName>),
OnlySkills,
OnlyAgents,
}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.
OnlySkills
Install only skills, no agents.
OnlyAgents
Install only agents plus their transitive skill dependencies.
Trait Implementations§
Source§impl Clone for FilterMode
impl Clone for FilterMode
Source§impl Debug for FilterMode
impl Debug for FilterMode
Source§impl<'de> Deserialize<'de> for FilterMode
impl<'de> Deserialize<'de> for FilterMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FilterMode
Source§impl PartialEq for FilterMode
impl PartialEq for FilterMode
Source§impl Serialize for FilterMode
impl Serialize for FilterMode
impl StructuralPartialEq for FilterMode
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.