pub struct OpOptions {
pub dry_run: bool,
pub root: Option<String>,
pub gitignore: bool,
pub backup: bool,
pub atomic: bool,
pub glob: Option<String>,
pub ignore: Option<String>,
pub hidden: bool,
pub max_depth: Option<usize>,
pub line_range: Option<LineRange>,
}Expand description
Options that control how operations are applied.
Fields§
§dry_run: bool§root: Option<String>§gitignore: bool§backup: bool§atomic: bool§glob: Option<String>§ignore: Option<String>§max_depth: Option<usize>§line_range: Option<LineRange>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpOptions
impl<'de> Deserialize<'de> for OpOptions
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 OpOptions
impl RefUnwindSafe for OpOptions
impl Send for OpOptions
impl Sync for OpOptions
impl Unpin for OpOptions
impl UnsafeUnpin for OpOptions
impl UnwindSafe for OpOptions
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