pub struct FilterEntryBuilder { /* private fields */ }Expand description
Builder for FilterEntry.
Implementations§
Source§impl FilterEntryBuilder
impl FilterEntryBuilder
Sourcepub fn exclude<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn exclude<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If set, causes exclusion of matching targets from the list.
Sourcepub fn type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
If not present, matches any type.
Sourcepub fn build(&self) -> Result<FilterEntry, FilterEntryBuilderError>
pub fn build(&self) -> Result<FilterEntry, FilterEntryBuilderError>
Trait Implementations§
Source§impl Clone for FilterEntryBuilder
impl Clone for FilterEntryBuilder
Source§fn clone(&self) -> FilterEntryBuilder
fn clone(&self) -> FilterEntryBuilder
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 FilterEntryBuilder
impl RefUnwindSafe for FilterEntryBuilder
impl Send for FilterEntryBuilder
impl Sync for FilterEntryBuilder
impl Unpin for FilterEntryBuilder
impl UnsafeUnpin for FilterEntryBuilder
impl UnwindSafe for FilterEntryBuilder
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