pub struct Diff {
pub schema: u32,
pub read_only: bool,
pub staged: bool,
pub entries: Vec<DiffEntry>,
pub patch: Option<String>,
}Fields§
§schema: u32§read_only: bool§staged: bool§entries: Vec<DiffEntry>§patch: Option<String>Only populated after an explicit content-disclosure request. Bytes are escaped.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Diff
impl Freeze for Diff
impl Move for Diff
impl RefUnwindSafe for Diff
impl Send for Diff
impl Sync for Diff
impl Unpin for Diff
impl UnsafeUnpin for Diff
impl UnwindSafe for Diff
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