pub struct FileDiffLite {
pub file: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub additions: Option<u64>,
pub deletions: Option<u64>,
pub extra: Value,
}Expand description
Lightweight file diff information.
Fields§
§file: Option<String>File path.
before: Option<String>Content before changes.
after: Option<String>Content after changes.
additions: Option<u64>Lines added.
deletions: Option<u64>Lines deleted.
extra: ValueAdditional fields.
Trait Implementations§
Source§impl Clone for FileDiffLite
impl Clone for FileDiffLite
Source§fn clone(&self) -> FileDiffLite
fn clone(&self) -> FileDiffLite
Returns a duplicate of the value. Read more
1.0.0 · 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 FileDiffLite
impl Debug for FileDiffLite
Source§impl<'de> Deserialize<'de> for FileDiffLite
impl<'de> Deserialize<'de> for FileDiffLite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileDiffLite
impl RefUnwindSafe for FileDiffLite
impl Send for FileDiffLite
impl Sync for FileDiffLite
impl Unpin for FileDiffLite
impl UnwindSafe for FileDiffLite
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