pub struct DiffFileNode {
pub path: String,
pub operation: String,
pub lines_added: u64,
pub lines_removed: u64,
pub hunks: Vec<DiffHunkNode>,
pub is_large: bool,
}Fields§
§path: String§operation: String§lines_added: u64§lines_removed: u64§hunks: Vec<DiffHunkNode>§is_large: boolTrait Implementations§
Source§impl Clone for DiffFileNode
impl Clone for DiffFileNode
Source§fn clone(&self) -> DiffFileNode
fn clone(&self) -> DiffFileNode
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 DiffFileNode
impl Debug for DiffFileNode
Source§impl<'de> Deserialize<'de> for DiffFileNode
impl<'de> Deserialize<'de> for DiffFileNode
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
Source§impl PartialEq for DiffFileNode
impl PartialEq for DiffFileNode
Source§impl Serialize for DiffFileNode
impl Serialize for DiffFileNode
impl Eq for DiffFileNode
impl StructuralPartialEq for DiffFileNode
Auto Trait Implementations§
impl Freeze for DiffFileNode
impl RefUnwindSafe for DiffFileNode
impl Send for DiffFileNode
impl Sync for DiffFileNode
impl Unpin for DiffFileNode
impl UnsafeUnpin for DiffFileNode
impl UnwindSafe for DiffFileNode
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