Struct azure_devops_rust_api::git::models::CommentTrackingCriteria
source · pub struct CommentTrackingCriteria {
pub first_comparing_iteration: Option<i32>,
pub orig_file_path: Option<String>,
pub orig_left_file_end: Option<CommentPosition>,
pub orig_left_file_start: Option<CommentPosition>,
pub orig_right_file_end: Option<CommentPosition>,
pub orig_right_file_start: Option<CommentPosition>,
pub second_comparing_iteration: Option<i32>,
}
Expand description
Comment tracking criteria is used to identify which iteration context the thread has been tracked to (if any) along with some detail about the original position and filename.
Fields§
§first_comparing_iteration: Option<i32>
The iteration of the file on the left side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.
orig_file_path: Option<String>
Original filepath the thread was created on before tracking. This will be different than the current thread filepath if the file in question was renamed in a later iteration.
orig_left_file_end: Option<CommentPosition>
§orig_left_file_start: Option<CommentPosition>
§orig_right_file_end: Option<CommentPosition>
§orig_right_file_start: Option<CommentPosition>
§second_comparing_iteration: Option<i32>
The iteration of the file on the right side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.
Implementations§
Trait Implementations§
source§impl Clone for CommentTrackingCriteria
impl Clone for CommentTrackingCriteria
source§fn clone(&self) -> CommentTrackingCriteria
fn clone(&self) -> CommentTrackingCriteria
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 CommentTrackingCriteria
impl Debug for CommentTrackingCriteria
source§impl Default for CommentTrackingCriteria
impl Default for CommentTrackingCriteria
source§fn default() -> CommentTrackingCriteria
fn default() -> CommentTrackingCriteria
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommentTrackingCriteria
impl<'de> Deserialize<'de> for CommentTrackingCriteria
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 CommentTrackingCriteria
impl PartialEq for CommentTrackingCriteria
source§fn eq(&self, other: &CommentTrackingCriteria) -> bool
fn eq(&self, other: &CommentTrackingCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommentTrackingCriteria
impl Serialize for CommentTrackingCriteria
impl StructuralPartialEq for CommentTrackingCriteria
Auto Trait Implementations§
impl Freeze for CommentTrackingCriteria
impl RefUnwindSafe for CommentTrackingCriteria
impl Send for CommentTrackingCriteria
impl Sync for CommentTrackingCriteria
impl Unpin for CommentTrackingCriteria
impl UnwindSafe for CommentTrackingCriteria
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