Struct azure_devops_rust_api::git::models::CommentIterationContext
source · pub struct CommentIterationContext {
pub first_comparing_iteration: Option<i64>,
pub second_comparing_iteration: Option<i64>,
}
Expand description
Comment iteration context is used to identify which diff was being viewed when the thread was created.
Fields§
§first_comparing_iteration: Option<i64>
The iteration of the file on the left side of the diff when the thread was created. If this value is equal to SecondComparingIteration, then this version is the common commit between the source and target branches of the pull request.
second_comparing_iteration: Option<i64>
The iteration of the file on the right side of the diff when the thread was created.
Implementations§
Trait Implementations§
source§impl Clone for CommentIterationContext
impl Clone for CommentIterationContext
source§fn clone(&self) -> CommentIterationContext
fn clone(&self) -> CommentIterationContext
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 CommentIterationContext
impl Debug for CommentIterationContext
source§impl Default for CommentIterationContext
impl Default for CommentIterationContext
source§fn default() -> CommentIterationContext
fn default() -> CommentIterationContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommentIterationContext
impl<'de> Deserialize<'de> for CommentIterationContext
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 CommentIterationContext
impl PartialEq for CommentIterationContext
source§fn eq(&self, other: &CommentIterationContext) -> bool
fn eq(&self, other: &CommentIterationContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommentIterationContext
impl Serialize for CommentIterationContext
impl StructuralPartialEq for CommentIterationContext
Auto Trait Implementations§
impl RefUnwindSafe for CommentIterationContext
impl Send for CommentIterationContext
impl Sync for CommentIterationContext
impl Unpin for CommentIterationContext
impl UnwindSafe for CommentIterationContext
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