pub struct FileContentPatchHunksItem {
pub lines: Vec<String>,
pub new_lines: u64,
pub new_start: u64,
pub old_lines: u64,
pub old_start: u64,
}Fields§
§lines: Vec<String>§new_lines: u64§new_start: u64§old_lines: u64§old_start: u64Trait Implementations§
Source§impl Clone for FileContentPatchHunksItem
impl Clone for FileContentPatchHunksItem
Source§fn clone(&self) -> FileContentPatchHunksItem
fn clone(&self) -> FileContentPatchHunksItem
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 FileContentPatchHunksItem
impl Debug for FileContentPatchHunksItem
Source§impl<'de> Deserialize<'de> for FileContentPatchHunksItem
impl<'de> Deserialize<'de> for FileContentPatchHunksItem
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
impl StructuralPartialEq for FileContentPatchHunksItem
Auto Trait Implementations§
impl Freeze for FileContentPatchHunksItem
impl RefUnwindSafe for FileContentPatchHunksItem
impl Send for FileContentPatchHunksItem
impl Sync for FileContentPatchHunksItem
impl Unpin for FileContentPatchHunksItem
impl UnsafeUnpin for FileContentPatchHunksItem
impl UnwindSafe for FileContentPatchHunksItem
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