Struct azure_devops_rust_api::git::models::CommentPosition
source · pub struct CommentPosition {
pub line: Option<i32>,
pub offset: Option<i32>,
}Expand description
Fields§
§line: Option<i32>The line number of a thread’s position. Starts at 1.
offset: Option<i32>The character offset of a thread’s position inside of a line. Starts at 0.
Implementations§
Trait Implementations§
source§impl Clone for CommentPosition
impl Clone for CommentPosition
source§fn clone(&self) -> CommentPosition
fn clone(&self) -> CommentPosition
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 CommentPosition
impl Debug for CommentPosition
source§impl Default for CommentPosition
impl Default for CommentPosition
source§fn default() -> CommentPosition
fn default() -> CommentPosition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommentPosition
impl<'de> Deserialize<'de> for CommentPosition
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<CommentPosition> for CommentPosition
impl PartialEq<CommentPosition> for CommentPosition
source§fn eq(&self, other: &CommentPosition) -> bool
fn eq(&self, other: &CommentPosition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.