pub struct PatchFileOp {
pub action: PatchAction,
pub path: PathBuf,
pub move_path: Option<PathBuf>,
}Fields§
§action: PatchAction§path: PathBuf§move_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for PatchFileOp
impl Clone for PatchFileOp
Source§fn clone(&self) -> PatchFileOp
fn clone(&self) -> PatchFileOp
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 PatchFileOp
impl Debug for PatchFileOp
impl Eq for PatchFileOp
Source§impl PartialEq for PatchFileOp
impl PartialEq for PatchFileOp
Source§fn eq(&self, other: &PatchFileOp) -> bool
fn eq(&self, other: &PatchFileOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchFileOp
Auto Trait Implementations§
impl Freeze for PatchFileOp
impl RefUnwindSafe for PatchFileOp
impl Send for PatchFileOp
impl Sync for PatchFileOp
impl Unpin for PatchFileOp
impl UnsafeUnpin for PatchFileOp
impl UnwindSafe for PatchFileOp
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