Struct azure_devops_rust_api::git::models::LineDiffBlock   
source · pub struct LineDiffBlock {
    pub change_type: Option<ChangeType>,
    pub modified_line_number_start: Option<i32>,
    pub modified_lines_count: Option<i32>,
    pub original_line_number_start: Option<i32>,
    pub original_lines_count: Option<i32>,
}Expand description
The class to represent the line diff block
Fields§
§change_type: Option<ChangeType>Type of change that was made to the block.
modified_line_number_start: Option<i32>Line number where this block starts in modified file.
modified_lines_count: Option<i32>Count of lines in this block in modified file.
original_line_number_start: Option<i32>Line number where this block starts in original file.
original_lines_count: Option<i32>Count of lines in this block in original file.
Implementations§
source§impl LineDiffBlock
 
impl LineDiffBlock
Trait Implementations§
source§impl Clone for LineDiffBlock
 
impl Clone for LineDiffBlock
source§fn clone(&self) -> LineDiffBlock
 
fn clone(&self) -> LineDiffBlock
Returns a copy 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 LineDiffBlock
 
impl Debug for LineDiffBlock
source§impl Default for LineDiffBlock
 
impl Default for LineDiffBlock
source§fn default() -> LineDiffBlock
 
fn default() -> LineDiffBlock
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LineDiffBlock
 
impl<'de> Deserialize<'de> for LineDiffBlock
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 LineDiffBlock
 
impl PartialEq for LineDiffBlock
source§fn eq(&self, other: &LineDiffBlock) -> bool
 
fn eq(&self, other: &LineDiffBlock) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for LineDiffBlock
 
impl Serialize for LineDiffBlock
impl StructuralPartialEq for LineDiffBlock
Auto Trait Implementations§
impl RefUnwindSafe for LineDiffBlock
impl Send for LineDiffBlock
impl Sync for LineDiffBlock
impl Unpin for LineDiffBlock
impl UnwindSafe for LineDiffBlock
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