pub struct RemoveOpBuilder<'a, I: Into<Cow<'a, Path>> + 'a, F: IntoIterator<Item = I>, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'a, I: Into<Cow<'a, Path>> + 'a, F: IntoIterator<Item = I>, S: State> RemoveOpBuilder<'a, I, F, S>
impl<'a, I: Into<Cow<'a, Path>> + 'a, F: IntoIterator<Item = I>, S: State> RemoveOpBuilder<'a, I, F, S>
Sourcepub fn build(self) -> RemoveOp<'a, I, F>where
S: IsComplete,
pub fn build(self) -> RemoveOp<'a, I, F>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn files(self, value: F) -> RemoveOpBuilder<'a, I, F, SetFiles<S>>where
S::Files: IsUnset,
pub fn files(self, value: F) -> RemoveOpBuilder<'a, I, F, SetFiles<S>>where
S::Files: IsUnset,
Required.
Sourcepub fn force(self, value: bool) -> RemoveOpBuilder<'a, I, F, SetForce<S>>where
S::Force: IsUnset,
pub fn force(self, value: bool) -> RemoveOpBuilder<'a, I, F, SetForce<S>>where
S::Force: IsUnset,
Sourcepub fn maybe_force(
self,
value: Option<bool>,
) -> RemoveOpBuilder<'a, I, F, SetForce<S>>where
S::Force: IsUnset,
pub fn maybe_force(
self,
value: Option<bool>,
) -> RemoveOpBuilder<'a, I, F, SetForce<S>>where
S::Force: IsUnset,
Sourcepub fn preserve_root(
self,
value: bool,
) -> RemoveOpBuilder<'a, I, F, SetPreserveRoot<S>>where
S::PreserveRoot: IsUnset,
pub fn preserve_root(
self,
value: bool,
) -> RemoveOpBuilder<'a, I, F, SetPreserveRoot<S>>where
S::PreserveRoot: IsUnset,
Sourcepub fn maybe_preserve_root(
self,
value: Option<bool>,
) -> RemoveOpBuilder<'a, I, F, SetPreserveRoot<S>>where
S::PreserveRoot: IsUnset,
pub fn maybe_preserve_root(
self,
value: Option<bool>,
) -> RemoveOpBuilder<'a, I, F, SetPreserveRoot<S>>where
S::PreserveRoot: IsUnset,
Auto Trait Implementations§
impl<'a, I, F, S> Freeze for RemoveOpBuilder<'a, I, F, S>where
F: Freeze,
impl<'a, I, F, S> RefUnwindSafe for RemoveOpBuilder<'a, I, F, S>where
F: RefUnwindSafe,
impl<'a, I, F, S> Send for RemoveOpBuilder<'a, I, F, S>where
F: Send,
impl<'a, I, F, S> Sync for RemoveOpBuilder<'a, I, F, S>where
F: Sync,
impl<'a, I, F, S> Unpin for RemoveOpBuilder<'a, I, F, S>where
F: Unpin,
impl<'a, I, F, S> UnwindSafe for RemoveOpBuilder<'a, I, F, S>where
F: UnwindSafe,
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