pub struct FileOperationReport {
pub context: Worktree,
pub operation: FileOperationKind,
pub action: FileOperationAction,
pub action_count: usize,
}Expand description
Result summary for a manual file operation invocation.
Fields§
§context: WorktreeRuntime context used by the operation.
operation: FileOperationKindFile operation kind that ran.
action: FileOperationActionCompleted action.
action_count: usizeNumber of file actions that were applied or reported.
Trait Implementations§
Source§impl Clone for FileOperationReport
impl Clone for FileOperationReport
Source§fn clone(&self) -> FileOperationReport
fn clone(&self) -> FileOperationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileOperationReport
impl Debug for FileOperationReport
impl Eq for FileOperationReport
Source§impl PartialEq for FileOperationReport
impl PartialEq for FileOperationReport
Source§fn eq(&self, other: &FileOperationReport) -> bool
fn eq(&self, other: &FileOperationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileOperationReport
Auto Trait Implementations§
impl Freeze for FileOperationReport
impl RefUnwindSafe for FileOperationReport
impl Send for FileOperationReport
impl Sync for FileOperationReport
impl Unpin for FileOperationReport
impl UnsafeUnpin for FileOperationReport
impl UnwindSafe for FileOperationReport
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