pub struct FilterEntry {
pub exclude: Option<bool>,
pub type_: Option<String>,
}Expand description
A filter used by target query/discovery/auto-attach operations.
Fields§
§exclude: Option<bool>If set, causes exclusion of matching targets from the list.
type_: Option<String>If not present, matches any type.
Trait Implementations§
Source§impl Clone for FilterEntry
impl Clone for FilterEntry
Source§fn clone(&self) -> FilterEntry
fn clone(&self) -> FilterEntry
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 moreSource§impl Debug for FilterEntry
impl Debug for FilterEntry
Source§impl Default for FilterEntry
impl Default for FilterEntry
Source§fn default() -> FilterEntry
fn default() -> FilterEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilterEntry
impl<'de> Deserialize<'de> for FilterEntry
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
Auto Trait Implementations§
impl Freeze for FilterEntry
impl RefUnwindSafe for FilterEntry
impl Send for FilterEntry
impl Sync for FilterEntry
impl Unpin for FilterEntry
impl UnsafeUnpin for FilterEntry
impl UnwindSafe for FilterEntry
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