pub struct IgnorePathBuilder { /* private fields */ }Expand description
Builder for IgnorePath.
Implementations§
Source§impl IgnorePathBuilder
impl IgnorePathBuilder
pub fn path(&mut self, value: Path) -> &mut Self
pub fn ignore_missing(&mut self, value: bool) -> &mut Self
pub fn conditions(&mut self, value: Vec<IgnorePathCondition>) -> &mut Self
Sourcepub fn build(&self) -> Result<IgnorePath, IgnorePathBuilderError>
pub fn build(&self) -> Result<IgnorePath, IgnorePathBuilderError>
Source§impl IgnorePathBuilder
impl IgnorePathBuilder
pub fn condition(&mut self, condition: IgnorePathCondition) -> &mut Self
Trait Implementations§
Source§impl Clone for IgnorePathBuilder
impl Clone for IgnorePathBuilder
Source§fn clone(&self) -> IgnorePathBuilder
fn clone(&self) -> IgnorePathBuilder
Returns a copy 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 IgnorePathBuilder
impl RefUnwindSafe for IgnorePathBuilder
impl Send for IgnorePathBuilder
impl Sync for IgnorePathBuilder
impl Unpin for IgnorePathBuilder
impl UnwindSafe for IgnorePathBuilder
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