pub struct DiffEntry {
pub path: String,
pub diff_type: DiffType,
pub is_dir: bool,
pub before_text: Option<String>,
pub after_text: Option<String>,
pub after_sha256: Option<String>,
pub error_detail: Option<String>,
}Expand description
One entry in the diff result.
Fields§
§path: StringRoot-relative path with forward slashes.
diff_type: DiffType§is_dir: bool§before_text: Option<String>§after_text: Option<String>§after_sha256: Option<String>SHA-256 hex of the after-file if readable.
error_detail: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin for DiffEntry
impl UnwindSafe for DiffEntry
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