[−][src]Struct gitlab::types::NotePosition
When a note is against a diff, the position of the note
Fields
base_sha: ObjectId
Base commit in the source branch
start_sha: ObjectId
SHA referencing the commit in the target branch
head_sha: ObjectId
The HEAD of the merge request
position_type: NotePositionType
Whether this note is against text or image FIXME: image not supported yet.
old_path: String
File path before change
new_path: String
File path after change
old_line: Option<u64>
Line number before the change
new_line: Option<u64>
Line number after the change
Trait Implementations
impl Clone for NotePosition
[src]
fn clone(&self) -> NotePosition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NotePosition
[src]
impl<'de> Deserialize<'de> for NotePosition
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for NotePosition
[src]
Auto Trait Implementations
impl RefUnwindSafe for NotePosition
impl Send for NotePosition
impl Sync for NotePosition
impl Unpin for NotePosition
impl UnwindSafe for NotePosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,