pub struct MatchOpItem {
pub kind: &'static str,
pub source: String,
pub target: String,
pub applied: bool,
pub status: &'static str,
pub error: Option<MatchItemError>,
}Expand description
Planned (and possibly executed) match operation emitted in data.operations.
Fields§
§kind: &'static strOne of "rename", "copy", or "move".
source: StringSource path before the operation.
target: StringResolved destination path after the operation would be applied.
applied: booltrue only when the operation was actually applied to the filesystem.
status: &'static str"ok" or "error".
error: Option<MatchItemError>Populated only when status == "error".
Trait Implementations§
Source§impl Debug for MatchOpItem
impl Debug for MatchOpItem
Auto Trait Implementations§
impl Freeze for MatchOpItem
impl RefUnwindSafe for MatchOpItem
impl Send for MatchOpItem
impl Sync for MatchOpItem
impl Unpin for MatchOpItem
impl UnsafeUnpin for MatchOpItem
impl UnwindSafe for MatchOpItem
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