pub struct GitLabNotePosition {
pub position_type: String,
pub new_path: Option<String>,
pub old_path: Option<String>,
pub new_line: Option<u32>,
pub old_line: Option<u32>,
}Expand description
GitLab note position (for inline code comments).
Fields§
§position_type: String§new_path: Option<String>§old_path: Option<String>§new_line: Option<u32>§old_line: Option<u32>Trait Implementations§
Source§impl Clone for GitLabNotePosition
impl Clone for GitLabNotePosition
Source§fn clone(&self) -> GitLabNotePosition
fn clone(&self) -> GitLabNotePosition
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 GitLabNotePosition
impl Debug for GitLabNotePosition
Source§impl<'de> Deserialize<'de> for GitLabNotePosition
impl<'de> Deserialize<'de> for GitLabNotePosition
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
Auto Trait Implementations§
impl Freeze for GitLabNotePosition
impl RefUnwindSafe for GitLabNotePosition
impl Send for GitLabNotePosition
impl Sync for GitLabNotePosition
impl Unpin for GitLabNotePosition
impl UnsafeUnpin for GitLabNotePosition
impl UnwindSafe for GitLabNotePosition
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