pub struct ModifiedFile {
pub path: String,
pub content_before: Option<Vec<u8>>,
pub content_after: Option<Vec<u8>>,
}Fields§
§path: StringThe path of the modified file.
content_before: Option<Vec<u8>>The content of the file before modification (if available).
content_after: Option<Vec<u8>>The content of the file after modification (if available).
Trait Implementations§
Source§impl Clone for ModifiedFile
impl Clone for ModifiedFile
Source§fn clone(&self) -> ModifiedFile
fn clone(&self) -> ModifiedFile
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 ModifiedFile
impl Debug for ModifiedFile
impl Eq for ModifiedFile
Source§impl PartialEq for ModifiedFile
impl PartialEq for ModifiedFile
impl StructuralPartialEq for ModifiedFile
Auto Trait Implementations§
impl Freeze for ModifiedFile
impl RefUnwindSafe for ModifiedFile
impl Send for ModifiedFile
impl Sync for ModifiedFile
impl Unpin for ModifiedFile
impl UnsafeUnpin for ModifiedFile
impl UnwindSafe for ModifiedFile
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